diff options
| author | jason | 2017-02-15 11:07:31 -0700 |
|---|---|---|
| committer | jason | 2017-02-15 11:07:31 -0700 |
| commit | c3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65 (patch) | |
| tree | 82990b897fa7526808b7e5ccebac3eee111bf182 /docs | |
| parent | 7820331fd493d17513ca412a927e556ec0dd0a05 (diff) | |
| download | eventmq-c3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65.tar.gz eventmq-c3ba9dcfccff77fedbcaf1a819b5a8cd0aa48a65.zip | |
Update config for settings
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/settings_file.rst | 11 |
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 | ||
| 34 | queues | 34 | queues |
| 35 | ====== | 35 | ====== |
| 36 | Default: (10, default) | 36 | Default: [[10, "default"]] |
| 37 | 37 | ||
| 38 | Semi-colon seperated list of queues to process jobs for with thier | 38 | Comma seperated list of queues to process jobs for with thier weights. This list |
| 39 | weights. Example: ``queues=(10, data_process); (15, email)``. With these | 39 | must be valid JSON otherwise an error will be thrown. |
| 40 | Example: ``queues=[[10, "data_process"], [15, "email"]]``. With these | ||
| 40 | weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers | 41 | weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers |
| 41 | running jobs locally pretty efficiently. If you have a larger box with a weight | 42 | running jobs locally efficiently. If you have a larger server with a weight of |
| 42 | of 50 on q1 and 8 concurrent jobs and a smaller box with a weight 30 and 4 | 43 | 50 on q1 and 8 concurrent jobs and a smaller server with a weight 30 and 4 |
| 43 | concurrent jobs, the q1 jobs will be sent to the large box until it is no longer | 44 | concurrent jobs, the q1 jobs will be sent to the large box until it is no longer |
| 44 | accepting jobs. At this point jobs will start to be sent to the next highest | 45 | accepting jobs. At this point jobs will start to be sent to the next highest |
| 45 | number until the large box is ready to accept another q1 job. | 46 | number until the large box is ready to accept another q1 job. |