aboutsummaryrefslogtreecommitdiffstats
path: root/etc/eventmq.conf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'etc/eventmq.conf-dist')
-rw-r--r--etc/eventmq.conf-dist15
1 files changed, 14 insertions, 1 deletions
diff --git a/etc/eventmq.conf-dist b/etc/eventmq.conf-dist
index 43ec6f2..1ff09c4 100644
--- a/etc/eventmq.conf-dist
+++ b/etc/eventmq.conf-dist
@@ -19,9 +19,22 @@ scheduler_addr=tcp://eventmq:47291
19 19
20[jobmanager] 20[jobmanager]
21worker_addr=tcp://127.0.0.1:47290 21worker_addr=tcp://127.0.0.1:47290
22queues=[[50,"google"], [40,"pushes"], [10,"default"]] 22
23# Defines the weight and name of queues this worker deals with.
24queues=[[20,"heavy-cpu"], [30,"low-cpu"], [10,"default"]]
25
26# Specifies the number of of sub-processes to spawn to process jobs concurrently
23concurrent_jobs=2 27concurrent_jobs=2
24 28
29# This function is executed when EventMQ creates a new worker subprocess
30# subprocess_setup_func = 'path.to.my_setup_function'
31
32# This function is executed before every job
33# job_entry_func = 'path.to.my_job_setup_function'
34
35# This function is executed after every job
36# job_exit_func = 'path.to.my_job_teardown_function'
37
25[publisher] 38[publisher]
26publisher_incoming_addr=tcp://0.0.0.0:47298 39publisher_incoming_addr=tcp://0.0.0.0:47298
27publisher_outgoing_addr=tcp://0.0.0.0:47299 \ No newline at end of file 40publisher_outgoing_addr=tcp://0.0.0.0:47299 \ No newline at end of file