diff --git a/src/infrastructure/daemon/overseer/PhabricatorDaemonOverseerModule.php b/src/infrastructure/daemon/overseer/PhabricatorDaemonOverseerModule.php index e9f34028cd..aa238a4bf0 100644 --- a/src/infrastructure/daemon/overseer/PhabricatorDaemonOverseerModule.php +++ b/src/infrastructure/daemon/overseer/PhabricatorDaemonOverseerModule.php @@ -17,7 +17,11 @@ final class PhabricatorDaemonOverseerModule } public function shouldReloadDaemons() { - if ($this->timestamp < PhabricatorTime::getNow() - 10) { + $now = PhabricatorTime::getNow(); + $ago = ($now - $this->timestamp); + + // Don't check more than once every 10 seconds. + if ($ago < 10) { return false; }