Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More readable queue configuration #110

Open
freysie opened this issue Oct 8, 2015 · 0 comments
Open

More readable queue configuration #110

freysie opened this issue Oct 8, 2015 · 0 comments

Comments

@freysie
Copy link

freysie commented Oct 8, 2015

It would be super cool instead of having to write

  config.default_queues = %w[
    transcoding:5:1000:5
    mailers:1:1000:5
  ]

if I instead could write

  config.default_queues = {
    transcoding: { threads: 5, garbage_limit: 1000, max_retries: 5 },
    mailers: { threads: 1, garbage_limit: 1000, max_retries: 5 }
  }

or something like that.

(Not sure about the naming. All of three options—even the threads one—are really upper limits, aren't they?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant