fix changing to next cycle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
0d3f945209
commit
7c3db54ff6
|
@ -146,11 +146,11 @@ class Sync extends TimedJob {
|
||||||
if ($expectMoreResults) {
|
if ($expectMoreResults) {
|
||||||
$this->increaseOffset($cycleData);
|
$this->increaseOffset($cycleData);
|
||||||
} else {
|
} else {
|
||||||
$this->determineNextCycle();
|
$this->determineNextCycle($cycleData);
|
||||||
}
|
}
|
||||||
$this->updateInterval();
|
$this->updateInterval();
|
||||||
} catch (ServerNotAvailableException $e) {
|
} catch (ServerNotAvailableException $e) {
|
||||||
$this->determineNextCycle();
|
$this->determineNextCycle($cycleData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue