Permalink
Browse files

Restrict this error to the put command.

  • Loading branch information...
1 parent 1cd179d commit 182e7fb42f0032bf695c6d70a920c9124c491a90 @kr committed Mar 16, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/protocol.txt
View
8 doc/protocol.txt
@@ -41,10 +41,6 @@ the server will reply with one of the following error messages:
happen. If it does happen, please report it at
http://groups.google.com/group/beanstalk-talk.
- - "DRAINING\r\n" This means that the server has been put into "drain mode"
- and is no longer accepting new jobs. The client should try another server
- or disconnect and try again later.
-
- "BAD_FORMAT\r\n" The client sent a command line that was not well-formed.
This can happen if the line does not end with \r\n, if non-numeric
characters occur where an integer is expected, if the wrong number of
@@ -172,6 +168,10 @@ may be:
- "JOB_TOO_BIG\r\n" The client has requested to put a job with a body larger
than max-job-size bytes.
+ - "DRAINING\r\n" This means that the server has been put into "drain mode"
+ and is no longer accepting new jobs. The client should try another server
+ or disconnect and try again later.
+
The "use" command is for producers. Subsequent put commands will put jobs into
the tube specified by this command. If no use command has been issued, jobs
will be put into the tube named "default".

0 comments on commit 182e7fb

Please sign in to comment.