Skip to content

Conversation

dorzeidman
Copy link

Changes:

  • added extend_lease_interval property to WorkerInterface.
  • TaskHandler: if extend_lease_interval > 0: a thread will be created that will send every extend_lease_interval seconds a task update call with extendLease = true flag, the task won't be rescheduled by the Conductor unless (extendLease must be lower than responseTimeoutSeconds

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.

@AlonSpitz
Copy link

Hi, that's a valuable feature. what's the status on this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants