add draining_mode status to the `stats` command #145 #219

Open
wants to merge 1 commit into from

2 participants

@justincase
binlog-max-size: 10485760
id: 42cdbb04ec381e89
hostname: Mac.local
status: OK

kill -SIGUSR1 <pid>

binlog-max-size: 10485760
id: 42cdbb04ec381e89
hostname: Mac.local
status: DRAINING

All tests passes.

@kr
Owner
kr commented Apr 3, 2016

Thanks for doing this! The feature looks useful, but I think it would be more straightforward to put draining: false or draining: true in the output. This should be a 2-line change.

@JensRantil JensRantil added a commit to JensRantil/beanstalkd that referenced this pull request Apr 3, 2016
@JensRantil JensRantil add draining_mode status to the `stats` command
This supersedes and closes #219
eeded6f
@JensRantil JensRantil added a commit to JensRantil/beanstalkd that referenced this pull request Apr 3, 2016
@JensRantil JensRantil add draining_mode status to the `stats` command
This supersedes and closes #219
adef9a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment