Replies: 1 comment
-
That is unfortunately not possible. You might create a separate scheduler, using a separate table and set nr-threads=2 to achieve something similar |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there currently a way to limit the number of concurrently running tasks of the same type using db-scheduler?
For example, I have a task called
MigrateMerchant
and I need to schedule around 10,000 of them. However, since this task is resource-intensive, I’d like to ensure that no more than 2 instances of it run at the same time.Is this kind of concurrency control possible with db-scheduler, or would it require a custom solution?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions