X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=6ed4c556c3a0588176238b7cf80dea6726c7fde7;hb=4937d077fd03279aae2cbba6f1252ffdb04cc7a5;hp=0ad54f310b4bb7346e22e7194d920947c272fbd0;hpb=817ce3f71cc80d27ceaca7706800ce1ac7e94b51;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 0ad54f31..6ed4c556 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -510,9 +510,8 @@ for (;;) { # do timed stuff, ongoing processing happens one a second if ($timenow != $systime) { - reap if $zombies; - $systime = $timenow; - IsoTime::update($systime); + reap() if $zombies; + IsoTime::update($systime = $timenow); DXCron::process(); # do cron jobs DXCommandmode::process(); # process ongoing command mode stuff DXXml::process();