Author: sparky
Date: Wed Oct 21 21:21:02 2009
New Revision: 10794

Modified:
   toys/rsget.pl/RSGet/Wait.pm
Log:
- don't add random waiting time, it isn't the right place for it


Modified: toys/rsget.pl/RSGet/Wait.pm
==============================================================================
--- toys/rsget.pl/RSGet/Wait.pm (original)
+++ toys/rsget.pl/RSGet/Wait.pm Wed Oct 21 21:21:02 2009
@@ -24,7 +24,7 @@
                $self->{wait_until_should} = $time + $wait;
                $wait = $rnd_wait;
        }
-       $wait = $wait < 0 ? - $wait : $wait + int rand 10;
+       $wait = -$wait if $wait < 0;
 
        $self->{wait_next} = $next_stage;
        $self->{wait_msg} = $msg;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to