aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjason2017-02-15 11:07:31 -0700
committerjason2017-02-15 11:07:31 -0700
commitc3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65 (patch)
tree82990b897fa7526808b7e5ccebac3eee111bf182 /docs
parent7820331fd493d17513ca412a927e556ec0dd0a05 (diff)
downloadeventmq-c3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65.tar.gz
eventmq-c3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65.zip
Update config for settings
Diffstat (limited to 'docs')
-rw-r--r--docs/settings_file.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/settings_file.rst b/docs/settings_file.rst
index cd37b6a..17d3b67 100644
--- a/docs/settings_file.rst
+++ b/docs/settings_file.rst
@@ -33,13 +33,14 @@ running. Grouping similar jobs in named queues will help you tune this number.
33 33
34queues 34queues
35====== 35======
36Default: (10, default) 36Default: [[10, "default"]]
37 37
38Semi-colon seperated list of queues to process jobs for with thier 38Comma seperated list of queues to process jobs for with thier weights. This list
39weights. Example: ``queues=(10, data_process); (15, email)``. With these 39must be valid JSON otherwise an error will be thrown.
40Example: ``queues=[[10, "data_process"], [15, "email"]]``. With these
40weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers 41weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers
41running jobs locally pretty efficiently. If you have a larger box with a weight 42running jobs locally efficiently. If you have a larger server with a weight of
42of 50 on q1 and 8 concurrent jobs and a smaller box with a weight 30 and 4 4350 on q1 and 8 concurrent jobs and a smaller server with a weight 30 and 4
43concurrent jobs, the q1 jobs will be sent to the large box until it is no longer 44concurrent jobs, the q1 jobs will be sent to the large box until it is no longer
44accepting jobs. At this point jobs will start to be sent to the next highest 45accepting jobs. At this point jobs will start to be sent to the next highest
45number until the large box is ready to accept another q1 job. 46number until the large box is ready to accept another q1 job.