diff options
Diffstat (limited to '_sources/settings_file.rst.txt')
| -rw-r--r-- | _sources/settings_file.rst.txt | 70 |
1 files changed, 69 insertions, 1 deletions
diff --git a/_sources/settings_file.rst.txt b/_sources/settings_file.rst.txt index 17d3b67..43c922c 100644 --- a/_sources/settings_file.rst.txt +++ b/_sources/settings_file.rst.txt | |||
| @@ -4,13 +4,67 @@ Server Settings (eventmq.conf) | |||
| 4 | EventMQ uses a standard INI style config file found at ``/etc/eventmq.conf``. | 4 | EventMQ uses a standard INI style config file found at ``/etc/eventmq.conf``. |
| 5 | 5 | ||
| 6 | ****** | 6 | ****** |
| 7 | Global | ||
| 8 | ****** | ||
| 9 | |||
| 10 | super_debug | ||
| 11 | =========== | ||
| 12 | Default: False | ||
| 13 | |||
| 14 | Enable most verbose level of debug statements | ||
| 15 | |||
| 16 | ****** | ||
| 7 | Router | 17 | Router |
| 8 | ****** | 18 | ****** |
| 9 | 19 | ||
| 20 | frontend_addr | ||
| 21 | ============= | ||
| 22 | Default: 'tcp://127.0.0.1:47291' | ||
| 23 | |||
| 24 | The address used to listen for client and scheduler connections | ||
| 25 | |||
| 26 | |||
| 27 | backend_addr | ||
| 28 | ============ | ||
| 29 | Default: 'tcp://127.0.0.1:47291' | ||
| 30 | |||
| 31 | The address used to listen for connections from workers | ||
| 32 | |||
| 10 | ********* | 33 | ********* |
| 11 | Scheduler | 34 | Scheduler |
| 12 | ********* | 35 | ********* |
| 13 | 36 | ||
| 37 | scheduler_addr | ||
| 38 | ============== | ||
| 39 | Default: 'tcp://127.0.0.1:47291' | ||
| 40 | |||
| 41 | The address the scheduler will use to connect to the broker | ||
| 42 | |||
| 43 | rq_host | ||
| 44 | ======= | ||
| 45 | Default: 'localhost' | ||
| 46 | |||
| 47 | The hostname of the redis server used to persist scheduled jobs. This is | ||
| 48 | expected to support redis' save operation which saves the contents to disk. | ||
| 49 | |||
| 50 | rq_port | ||
| 51 | ======= | ||
| 52 | Default: 6379 | ||
| 53 | |||
| 54 | Port of redis server to connect to. | ||
| 55 | |||
| 56 | rq_db | ||
| 57 | ===== | ||
| 58 | Default: 0 | ||
| 59 | |||
| 60 | Which redis database to use | ||
| 61 | |||
| 62 | rq_password | ||
| 63 | =========== | ||
| 64 | Default: '' | ||
| 65 | |||
| 66 | Password to use when connecting to redis | ||
| 67 | |||
| 14 | *********** | 68 | *********** |
| 15 | Job Manager | 69 | Job Manager |
| 16 | *********** | 70 | *********** |
| @@ -35,7 +89,7 @@ queues | |||
| 35 | ====== | 89 | ====== |
| 36 | Default: [[10, "default"]] | 90 | Default: [[10, "default"]] |
| 37 | 91 | ||
| 38 | Comma seperated list of queues to process jobs for with thier weights. This list | 92 | Comma seperated list of queues to process jobs for with their weights. This list |
| 39 | must be valid JSON otherwise an error will be thrown. | 93 | must be valid JSON otherwise an error will be thrown. |
| 40 | Example: ``queues=[[10, "data_process"], [15, "email"]]``. With these | 94 | Example: ``queues=[[10, "data_process"], [15, "email"]]``. With these |
| 41 | weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers | 95 | weights and the ``CONCURRENT_JOBS`` setting, you should be able to tune managers |
| @@ -50,3 +104,17 @@ number until the large box is ready to accept another q1 job. | |||
| 50 | It is recommended that you have some workers listening for jobs on your | 104 | It is recommended that you have some workers listening for jobs on your |
| 51 | default queue so that anything that is not explicitly assigned will still be | 105 | default queue so that anything that is not explicitly assigned will still be |
| 52 | run. | 106 | run. |
| 107 | |||
| 108 | setup_callabe/setup_path | ||
| 109 | ======================== | ||
| 110 | Default: '' (Signifies no task will be attempted) | ||
| 111 | |||
| 112 | Strings containing path and callable to be run when a worker is spawned | ||
| 113 | if applicable to that type of worker. Currently the only supported worker is a | ||
| 114 | MultiProcessWorker, and is useful for pulling any global state into memory. | ||
| 115 | |||
| 116 | max_job_count | ||
| 117 | ============= | ||
| 118 | Default: 1024 | ||
| 119 | |||
| 120 | After a worker runs this amount of jobs, it will gracefully exit and be replaced | ||