You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @atrauzzi - I guess you mean on startup? No that's not possible at the moment, you'll need to create the queues using a client for that.
I'll leave this here as a future feature request.
Also looking for this. We define our queues in docker-compose and there is no way to set maxDispatchesPerSecond.
If i spawn 200 tasks, they all get handled concurrently. which in my case overloads the API.
@atrauzzi@davidspiess if you're still looking for a solution, take a look at #101 (comment) ? I was also trying to figure this out -- it doesn't look like this is possible from this emulator without a PR, but it is doable if you have a separate client and separately create a queue.
We use this emulator in docker compose as well and I threw in the above code snippet in our app init code for local dev and got max dispatches (along with other retry and rate limiting configs) working
If I'm running as a docker container, is there any way to set
maxDispatchesPerSecond
per-queue?The text was updated successfully, but these errors were encountered: