From 4cb8c0c686eda4a1b55f44a0029a067d635c7004 Mon Sep 17 00:00:00 2001 From: Jens Rantil Date: Mon, 4 Apr 2016 03:04:20 +0200 Subject: [PATCH] document SIGUSR1 to enter drain mode Not updating the markdown documents as I expect them to be removed in issue #308. --- doc/protocol.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/protocol.txt b/doc/protocol.txt index a170001..26d97c3 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -168,9 +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. + - "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. To put the server in drain mode, send the + SIGUSR1 signal to the process. 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 -- 2.11.4.GIT