mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #1030] [FEATURE REQUEST] asynq: task lease expired #2515
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2515
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @scp-66 on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1030
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
The LeaseDuration in rdb.go should be configurable, as it directly affects the processes of all tasks. If it always defaults to 30 seconds, tasks that require relatively long processing times will frequently encounter lease expiration and continually retry the same task.
@gsaraf commented on GitHub (Mar 9, 2025):
Leases should be renewed constantly (every 5 seconds) by the
heartbeater, so tasks that take longer than 30 seconds can be processed to completion.Perhaps you are experiencing connection problems with the redis server causing these to fail? This might be visible in the logs.