diff options
| author | jason | 2016-05-17 17:15:40 -0600 |
|---|---|---|
| committer | jason | 2016-05-17 18:03:23 -0600 |
| commit | 9ecd11a63689813451a1fdac5c55d11141e22398 (patch) | |
| tree | c0bfa7f4f4657a63a068dae6d105a710a19e52c1 /docs | |
| parent | 4f1dea6d58101e70827bdcb8bfe614a968b30c33 (diff) | |
| download | eventmq-9ecd11a63689813451a1fdac5c55d11141e22398.tar.gz eventmq-9ecd11a63689813451a1fdac5c55d11141e22398.zip | |
Various fixes
- fixes off-by-one bug when tracking available worker slots
- fixes bug where workers would crash and die if they couldn't import the jobs
- adds zmq errno 65 to fwdmessage for peer gone away when a worker dies suddenly
- set hb to 0 and clean up dead workers before retrying to send message when worker goes away suddenly
- version bump to 0.2.0
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/settings_file.rst | 33 | ||||
| -rw-r--r-- | docs/using.rst | 8 |
2 files changed, 41 insertions, 0 deletions
diff --git a/docs/settings_file.rst b/docs/settings_file.rst new file mode 100644 index 0000000..07d2338 --- /dev/null +++ b/docs/settings_file.rst | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | ######## | ||
| 2 | Settings | ||
| 3 | ######## | ||
| 4 | EventMQ uses a standard INI style config file found at ``/etc/eventmq.conf``. | ||
| 5 | |||
| 6 | ****** | ||
| 7 | Router | ||
| 8 | ****** | ||
| 9 | |||
| 10 | ********* | ||
| 11 | Scheduler | ||
| 12 | ********* | ||
| 13 | |||
| 14 | *********** | ||
| 15 | Job Manager | ||
| 16 | *********** | ||
| 17 | |||
| 18 | queues | ||
| 19 | ====== | ||
| 20 | Default: default | ||
| 21 | |||
| 22 | Comma seperated list of queues to process jobs for. Example: | ||
| 23 | ``queues=high,med,low,default``. The philosophy taken for this list is each job | ||
| 24 | manager should have a single primary queue. This queue is the first in the list | ||
| 25 | (in the case of the example ``high`` is the primary queue). Subsequent queues | ||
| 26 | are queues that this job manager should help out with should jobs be backed up, | ||
| 27 | and there are no primary queue jobs to take care of. | ||
| 28 | |||
| 29 | .. note:: | ||
| 30 | |||
| 31 | It is recommended that you have some workers listening for jobs on your | ||
| 32 | default queue so that anything that is not explicitly assigned will still be | ||
| 33 | run. | ||
diff --git a/docs/using.rst b/docs/using.rst new file mode 100644 index 0000000..3c6a517 --- /dev/null +++ b/docs/using.rst | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | ############# | ||
| 2 | Using EventMQ | ||
| 3 | ############# | ||
| 4 | |||
| 5 | .. toctree:: | ||
| 6 | :maxdepth: 2 | ||
| 7 | |||
| 8 | settings_file | ||