Skip to content

Commit

Permalink
Increase timeouts in gearman status script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbeardsley committed Aug 21, 2012
1 parent 7476e18 commit bb47167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gearmand-status
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# gearman.WorkerFunctionName.queued 10
# gearman.WorkerFunctionName.running 3
# gearman.WorkerFunctionName.workers 2
(echo status ; sleep 0.1) |
nc 127.0.0.1 4730 |
(echo status; sleep 1) |
nc -w 1 127.0.0.1 4730 |
sed -e "s/::/_/" -e "/^\.$/d" -e "s/^/gearman./" |
awk '{print $1 ".queued",$2;
print $1 ".running",$3;
Expand Down

0 comments on commit bb47167

Please sign in to comment.