Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorRepositoryPullLocalDaemonModule

final class PhabricatorRepositoryPullLocalDaemonModule
Phorge Technical Documentation (Repositories)

This class is not documented.

Methods

public function shouldReloadDaemons()
Inherited

PhutilDaemonOverseerModule

This method is used to indicate to the overseer that daemons should reload.

Return
boolTrue if the daemons should reload, otherwise false.

public function shouldWakePool($pool)

PhutilDaemonOverseerModule

Should a hibernating daemon pool be awoken immediately?

PhabricatorRepositoryPullLocalDaemonModule
This method is not documented.
Parameters
PhutilDaemonPool$pool
Return
boolTrue to awaken the pool immediately.

public static function getAllModules()
Inherited

This method is not documented.
Return
wild

protected function shouldThrottle($name, $duration)
Inherited

PhutilDaemonOverseerModule

Throttle checks from executing too often.

If you throttle a check like this, it will only execute once every 2.5 seconds:

if ($this->shouldThrottle('some.check', 2.5)) {
  return;
}
Parameters
string$nameThrottle key.
float$durationDuration in seconds.
Return
boolTrue to throttle the check.