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:
Kevin Hu 2024-09-09 10:19:10 +08:00 committed by GitHub
parent 473f9892fb
commit 2ac72899ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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__":