SVN: toys/rsget.pl/RSGet/Wait.pm

sparky sparky at pld-linux.org
Wed Oct 21 21:21:02 CEST 2009


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;


More information about the pld-cvs-commit mailing list