mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
reduce interval of task executor heart beat (#2308)
### What problem does this PR solve? ### Type of change - [x] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
@ -404,7 +404,7 @@ def report_status():
|
|||||||
REDIS_CONN.set_obj("TASKEXE", obj, 60*2)
|
REDIS_CONN.set_obj("TASKEXE", obj, 60*2)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("[Exception]:", str(e))
|
print("[Exception]:", str(e))
|
||||||
time.sleep(60)
|
time.sleep(30)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user