diff options
Diffstat (limited to 'etc/eventmq.conf-dist')
| -rw-r--r-- | etc/eventmq.conf-dist | 15 |
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] |
| 21 | worker_addr=tcp://127.0.0.1:47290 | 21 | worker_addr=tcp://127.0.0.1:47290 |
| 22 | queues=[[50,"google"], [40,"pushes"], [10,"default"]] | 22 | |
| 23 | # Defines the weight and name of queues this worker deals with. | ||
| 24 | queues=[[20,"heavy-cpu"], [30,"low-cpu"], [10,"default"]] | ||
| 25 | |||
| 26 | # Specifies the number of of sub-processes to spawn to process jobs concurrently | ||
| 23 | concurrent_jobs=2 | 27 | concurrent_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] |
| 26 | publisher_incoming_addr=tcp://0.0.0.0:47298 | 39 | publisher_incoming_addr=tcp://0.0.0.0:47298 |
| 27 | publisher_outgoing_addr=tcp://0.0.0.0:47299 \ No newline at end of file | 40 | publisher_outgoing_addr=tcp://0.0.0.0:47299 \ No newline at end of file |