You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/01/20 09:33:57 UTC
svn commit: r125738 - /spamassassin/branches/3.0/build/buildbot_ready
Author: jm
Date: Thu Jan 20 00:33:56 2005
New Revision: 125738
URL: http://svn.apache.org/viewcvs?view=rev&rev=125738
Log:
introduce some randomness to avoid deadlock
Modified:
spamassassin/branches/3.0/build/buildbot_ready
Modified: spamassassin/branches/3.0/build/buildbot_ready
Url: http://svn.apache.org/viewcvs/spamassassin/branches/3.0/build/buildbot_ready?view=diff&rev=125738&p1=spamassassin/branches/3.0/build/buildbot_ready&r1=125737&p2=spamassassin/branches/3.0/build/buildbot_ready&r2=125738
==============================================================================
--- spamassassin/branches/3.0/build/buildbot_ready (original)
+++ spamassassin/branches/3.0/build/buildbot_ready Thu Jan 20 00:33:56 2005
@@ -11,7 +11,7 @@
# sleep until it disappears, or times out
while (-f $syncfile && mtime_age_secs($syncfile) < 60*60) {
print "$syncfile exists with age ".mtime_age_secs($syncfile).", sleeping\n";
- sleep 60*5;
+ sleep 60*3 + rand(60*5);
}
open (TOUCH, ">$syncfile"); close TOUCH;