conductor-python
conductor-python copied to clipboard
added extend lease thread capabilities
Changes:
- added
extend_lease_intervalproperty toWorkerInterface. TaskHandler: ifextend_lease_interval > 0: a thread will be created that will send everyextend_lease_intervalseconds a task update call withextendLease = trueflag, the task won't be rescheduled by the Conductor unless (extendLease must be lower thanresponseTimeoutSeconds
Reason:
I need to run long running task (a few hours) and I want to use the extendLease = true feature to have the worker extend lease every few minutes.
Hi, that's a valuable feature. what's the status on this PR?
@v1r3n did you check my pr?
Hi @dorz-saymine thanks for the PR. We have another PR in progress that should address this. Stay tuned and I can share the branch if you would like to test it out and provide your take/feedback.