mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #263] [QUESTION] Setting Concurrency does not work #99
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#99
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 @gopkg-dev on GitHub (Apr 16, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/263
I set Concurrency = 200, and there are less than 10 at work, and my tasks are tens of thousands.
How can I fix it and make it all work.
@hibiken
@gopkg-dev commented on GitHub (Apr 16, 2021):
@hibiken commented on GitHub (Apr 16, 2021):
@gopkg-dev thanks for opening this issue!
From the screenshot, it seems like your
asynq.Serveris not configured to consume tasks from your db_process queue.(It seems like you didn't specify the
Queueoption for your server, which means it only reads from the default queue)You can configure the server to consume task from db_process queue like this:
For more detail documentation on the Config, please refer to the godoc.
Let me know if you are still seeing the issue!
@hibiken commented on GitHub (Apr 21, 2021):
@gopkg-dev Did it solve the issue?
@gopkg-dev commented on GitHub (Apr 21, 2021):
Thanks for your reply, it has been solved, the reason is that the performance of redis running in docker is limited.
@abdeljalil09 commented on GitHub (Jan 11, 2024):
hello @hibiken thanks for this great library
i have the same issue i set it to 1000 and i only see no more than 10 active workers in asynqmon
i push tasks to the queue with a goroutine when it's finished , i then run another goroutine with
@abdeljalil09 commented on GitHub (Feb 27, 2024):
Hello can you help,