task_executor 添加日志
This commit is contained in:
@@ -155,6 +155,8 @@ function task_exe() {
|
|||||||
while true; do
|
while true; do
|
||||||
LD_PRELOAD="$JEMALLOC_PATH" \
|
LD_PRELOAD="$JEMALLOC_PATH" \
|
||||||
"$PY" rag/svr/task_executor.py "${host_id}_${consumer_id}"
|
"$PY" rag/svr/task_executor.py "${host_id}_${consumer_id}"
|
||||||
|
echo "task_executor exited. Sleeping 5s before restart."
|
||||||
|
sleep 5
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user