PG Boss Concurrent Jobs
Hi everyone 
I’m using Pg-Boss jobs in Wasp (0.16.x).
Right now only one contentGenerationJob runs at a time, even when multiple users queue drafts.
I’d like:
Could somebody confirm the correct .env.server lines and any extra code needed?
This is what I think should work in .env.server:
After restarting wasp start I expect to see pg-boss: subscriptions online | teamConcurrency=3 in the logs.
But I get:
Is there a better pattern recommended by the Wasp team for per-user fairness + global parallelism?
Any sample snippet / repo link would be super helpful.
Thanks!
I’m using Pg-Boss jobs in Wasp (0.16.x).
Right now only one contentGenerationJob runs at a time, even when multiple users queue drafts.
I’d like:
- A global concurrency of 3 jobs per worker process.
- A per-user limit of 1 active job (token-bucket in the worker).
Could somebody confirm the correct .env.server lines and any extra code needed?
This is what I think should work in .env.server:
After restarting wasp start I expect to see pg-boss: subscriptions online | teamConcurrency=3 in the logs.
But I get:
Is there a better pattern recommended by the Wasp team for per-user fairness + global parallelism?
Any sample snippet / repo link would be super helpful.
Thanks!