make sleep interval dependent on date of last batch

This commit is contained in:
Sarah Hoffmann
2013-09-19 22:56:55 +02:00
parent f723eb1998
commit 8332fedfd6

View File

@@ -531,7 +531,7 @@
if ( CONST_Replication_Update_Interval > 60 )
{
$iSleep = round(CONST_Replication_Update_Interval*0.8);
$iSleep = max(0,(strtotime($sBatchEnd)+CONST_Replication_Update_Interval-time()));
}
else
{