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