Skip to content
This repository
Browse code

Fix documentation of max job size

Below is a patch for protocol.txt, which fixes a couple references to
max job size as 2**16:
  • Loading branch information...
commit 6d0c7cd4999d91e97b94db4ec634bc6ec3035e76 1 parent 75de429
Erich Heine authored April 17, 2008 Keith Rarick committed April 17, 2008

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  doc/protocol.txt
6  doc/protocol.txt
@@ -146,8 +146,8 @@ below).
146 146
    The minimum ttr is 1. If the client sends 0, the server will silently
147 147
    increase the ttr to 1.
148 148
 
149  
- - <bytes> is an integer (currently must be < 2**16) indicating the size of
150  
-   the job body, not including the trailing "\r\n".
  149
+ - <bytes> is an integer indicating the size of the job body, not including the
  150
+   trailing "\r\n". This value must be less than max-job-size (default: 2**16).
151 151
 
152 152
  - <data> is the job body -- a sequence of bytes of length <bytes> from the
153 153
    previous line.
@@ -169,7 +169,7 @@ may be:
169 169
    in the put command line.
170 170
 
171 171
  - "JOB_TOO_BIG\r\n" The client has requested to put a job with a body larger
172  
-   than 2**16 bytes.
  172
+   than max-job-size bytes.
173 173
 
174 174
 The "use" command is for producers. Subsequent put commands will put jobs into
175 175
 the tube specified by this command. If no use command has been issued, jobs

0 notes on commit 6d0c7cd

Please sign in to comment.
Something went wrong with that request. Please try again.