Skip to content

Commit

Permalink
fix status code
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSeung Kim committed Jun 4, 2012
1 parent 31b4594 commit 888eed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Gearman/Slot.pm
Expand Up @@ -37,8 +37,8 @@ sub BUILD{
if( $msg eq 'BUSY' ){
$self->is_busy(1);
}
elsif( $msg eq 'NOTBUSY' ){
$self->is_busy(1);
elsif( $msg eq 'IDLE' ){
$self->is_busy(0);
}
elsif( $msg eq 'STOP' ){
$self->kill();
Expand Down

0 comments on commit 888eed6

Please sign in to comment.