Skip to content

Commit

Permalink
Use lower timeout so intentional re-next-ing can work
Browse files Browse the repository at this point in the history
  • Loading branch information
markpasc committed Jul 9, 2010
1 parent a415c83 commit e3a24e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standup.pm
Expand Up @@ -230,7 +230,7 @@ sub next_person {

# If it's not your turn, avoid double-nexting.
my $not_my_turn = $state->{turn} && $state->{turn} ne $message->{who};
if ($not_my_turn && time - ($state->{last_next} || 0) <= 15) {
if ($not_my_turn && time - ($state->{last_next} || 0) <= 5) {
$logger->debug(sprintf "Only %d secs since last next, ignoring", time - $state->{last_next});
return q{};
}
Expand Down

0 comments on commit e3a24e3

Please sign in to comment.