aertje / cloud-tasks-emulator

Google cloud tasks emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I set maxDispatchesPerSecond when running as a docker container?

atrauzzi opened this issue · comments

If I'm running as a docker container, is there any way to set maxDispatchesPerSecond per-queue?

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.