aboutsummaryrefslogtreecommitdiffstats
path: root/docs/protocol.rst
diff options
context:
space:
mode:
authorAdam Olsen2016-08-25 17:01:29 -0600
committerAdam Olsen2016-08-25 17:03:48 -0600
commitb0e1a20129d6814e840f5a56ec8b07b1507b1eaf (patch)
tree0eeb166bb1aa88e84c28491609744556953b1052 /docs/protocol.rst
parent6bcbc67e6e52e49a942a6fe0933511838ee23efd (diff)
downloadeventmq-b0e1a20129d6814e840f5a56ec8b07b1507b1eaf.tar.gz
eventmq-b0e1a20129d6814e840f5a56ec8b07b1507b1eaf.zip
Document "nohaste" header flag
Diffstat (limited to 'docs/protocol.rst')
-rw-r--r--docs/protocol.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/protocol.rst b/docs/protocol.rst
index c341403..bf400cc 100644
--- a/docs/protocol.rst
+++ b/docs/protocol.rst
@@ -204,16 +204,17 @@ Heartbeating
204 * If the broker detects that a worker has disconnected it should stop sending it a message of any type. 204 * If the broker detects that a worker has disconnected it should stop sending it a message of any type.
205 * If the scheduler detects that the broker disconnects it SHOULD restart the conversation. 205 * If the scheduler detects that the broker disconnects it SHOULD restart the conversation.
206 206
207REQUEST Headers 207Headers
208--------------- 208---------------
209Headers MUST be 0 to many comma seperated values inserted into the header field. If there are no headers required, send an empty string MUST be sent where headers are required. 209Headers MUST be 0 to many comma seperated values inserted into the header field. If there are no headers required, send an empty string MUST be sent where headers are required.
210 210
211Below is a table which defines and describes the headers. 211Below is a table which defines and describes the headers.
212 212
213=============== ======= ======= ======= =========== 213================= ======= ======= ======== ======= ===========
214Header REQUEST PUBLISH Default Description 214Header REQUEST PUBLISH SCHEDULE Default Description
215=============== ======= ======= ======= =========== 215================= ======= ======= ======== ======= ===========
216reply-requested X False Once the job is finished, send a reply back with information from the job. If there is no information reply with a True value. 216reply-requested X False Once the job is finished, send a reply back with information from the job. If there is no information reply with a True value.
217retry-count:# X 0 Retry a failed job this many times before accepting defeat. 217retry-count:# X 0 Retry a failed job this many times before accepting defeat.
218guarantee X False Ensure the job completes by letting someone else worry about a success reply. 218guarantee X False Ensure the job completes by letting someone else worry about a success reply.
219=============== ======= ======= ======= =========== 219nohaste X False When scheduling a job, set this to True if you don't want the job to run immediately as it's scheduled. Instead, it will run for the first time when the interval has elapsed.
220================= ======= ======= ======== ======= ===========