Skip to content

Commit

Permalink
ObjectSync: no need to refresh outdated...
Browse files Browse the repository at this point in the history
...datastores on startup
  • Loading branch information
Thomas-Gelf committed Nov 22, 2021
1 parent 5c9ae9d commit b8fb373
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/Vspheredb/Daemon/ObjectSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ protected function scheduleTasks()
$this->timers[] = $this->loop->addPeriodicTimer(600, function () {
$this->runTasks($this->slowTasks);
});
$this->loop->futureTick(function () {
$this->refreshOutdatedDatastores();
});
$this->timers[] = $this->loop->addPeriodicTimer(300, function () {
$this->refreshOutdatedDatastores();
});
Expand Down

0 comments on commit b8fb373

Please sign in to comment.