Skip to content

Commit

Permalink
Restrict this error to the put command.
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Mar 26, 2010
1 parent 1cd179d commit 182e7fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/protocol.txt
Expand Up @@ -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
Expand Down Expand Up @@ -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".
Expand Down

0 comments on commit 182e7fb

Please sign in to comment.