[GH-ISSUE #632] [Need help] Does the configuration item DelayedTaskCheckInterval mean that only 100 asynchronous tasks can be processed (forwarded) in one DelayedTaskCheckInterval time cycle? #309

Closed
opened 2026-03-02 05:20:22 +03:00 by kerem · 1 comment
Owner

Originally created by @zbysir on GitHub (Mar 27, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/632

Because I can see from the source code that only 100 tasks are retrieved each time forward is called.

github.com/hibiken/asynq@cc777ebdaa/internal/rdb/rdb.go (L923)

This logic will determine how I should set DelayedTaskCheckInterval.

Or did I miss some key points? Thank you in advance for your correction.

Originally created by @zbysir on GitHub (Mar 27, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/632 Because I can see from the source code that only 100 tasks are retrieved each time forward is called. https://github.com/hibiken/asynq/blob/cc777ebdaa62b69bd6e985fa97117b854e7d1cd6/internal/rdb/rdb.go#L923 This logic will determine how I should set DelayedTaskCheckInterval. Or did I miss some key points? Thank you in advance for your correction.
kerem closed this issue 2026-03-02 05:20:22 +03:00
Author
Owner

@zbysir commented on GitHub (Mar 27, 2023):

I overlooked the for statement, and I will close this issue.

github.com/hibiken/asynq@cc777ebdaa/internal/rdb/rdb.go (L976)

<!-- gh-comment-id:1484856129 --> @zbysir commented on GitHub (Mar 27, 2023): I overlooked the for statement, and I will close this issue. https://github.com/hibiken/asynq/blob/cc777ebdaa62b69bd6e985fa97117b854e7d1cd6/internal/rdb/rdb.go#L976
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#309
No description provided.