mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #1044] does the timing that I see from enqueuing until finish processing is so delayed #1508
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#1508
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 @zahTayar on GitHub (Apr 16, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1044
when I am running the simplest task
the enqueue process takes 17 milliseconds
the processing time is 24 milliseconds
between them the task is sitting inside the queue for 480 milliseconds
why is that?
how can I fix it?
I am using TaskCheckInterval: 0,
can someone help me?
@nhymxu commented on GitHub (Apr 21, 2025):
github.com/hibiken/asynq@c327bc40a2/server.go (L110-L117)When set to 0, interval set back to 1 second, like comment.
You can set to nanosecond with
time.Duration(1), but I'm not recommend it@kamikazechaser commented on GitHub (May 5, 2025):
@zahTayar Read the documentation here:
github.com/hibiken/asynq@c327bc40a2/processor.go (L179)