Open michaelangeloio opened 6 days ago
@michaelangeloio the queue isn't really concerned with how you consume it, that's on the consumer side.
If you mean within the jobs
package, you can set a global concurrent job limit: https://pkg.go.dev/github.com/maragudk/goqite@v0.2.3/jobs#NewRunnerOpts . But it wouldn't be able to do it based on something like user ID, because there's no concept of user ID in the queue itself.
Is it possible to set a concurrency limit for a specific queue? Like limit concurrency per user ID?