fix changing to next cycle

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2018-01-08 13:45:06 +01:00
parent 0d3f945209
commit 7c3db54ff6
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }