@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make the default Trigger hibernation 3 minutes instead of 5 seconds

The `min()` vs `max()` fix in D17560 meant that the Trigger daemon only
hibernates for 5 seconds, so we do a full GC sweep every 5 seconds. This ends
up eating a fair amount of CPU for no real benefit.

The GC cursors should move to persistent storage, but just bump this default
up in the meantime.

Auditors: chad

+1 -1
+1 -1
src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php
··· 275 275 * @return int Number of seconds to sleep for. 276 276 */ 277 277 private function getSleepDuration() { 278 - $sleep = 5; 278 + $sleep = phutil_units('3 minutes in seconds'); 279 279 280 280 $next_triggers = id(new PhabricatorWorkerTriggerQuery()) 281 281 ->setViewer($this->getViewer())