Kevin Hu
commited on
Commit
·
6bcaa26
1
Parent(s):
5c37eb6
reduce interval of task executor heart beat (#2308)
Browse files### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
- [ ] Other (please describe):
- rag/svr/task_executor.py +1 -1
rag/svr/task_executor.py
CHANGED
@@ -404,7 +404,7 @@ def report_status():
|
|
404 |
REDIS_CONN.set_obj("TASKEXE", obj, 60*2)
|
405 |
except Exception as e:
|
406 |
print("[Exception]:", str(e))
|
407 |
-
time.sleep(
|
408 |
|
409 |
|
410 |
if __name__ == "__main__":
|
|
|
404 |
REDIS_CONN.set_obj("TASKEXE", obj, 60*2)
|
405 |
except Exception as e:
|
406 |
print("[Exception]:", str(e))
|
407 |
+
time.sleep(30)
|
408 |
|
409 |
|
410 |
if __name__ == "__main__":
|