Closed novaugust closed 6 years ago
I have a cluster of nodes all responsible for running different queues with some overlap.
My configuration is something like this
machine = ... queues = case machine do :worker -> [a: 5, b: 5, c: 5] :web -> [a: 5] end config :verk, queues: queues
The intention here is to keep the web server from overworking itself between web requests and running jobs.
The issue, though, is that the :web server still occasionally runs jobs from queues b and c. Am I missing something here for keeping it from doing so?
:web
b
c
Digging in, it looks like I'm just bad at config. Sorry =)
If someone else ever does this, remember that queues themselves will be deepmerged in config since they're just keyword maps.
I have a cluster of nodes all responsible for running different queues with some overlap.
My configuration is something like this
The intention here is to keep the web server from overworking itself between web requests and running jobs.
The issue, though, is that the
:web
server still occasionally runs jobs from queuesb
andc
. Am I missing something here for keeping it from doing so?