Select the types of activity you want to include in your feed.
@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
Select the types of activity you want to include in your feed.
Only hibernate the Taskmaster after 15 seconds of inactivity
Under some workloads, the taskmaster may hibernate and launch more rapidly than it should. Require 15 seconds of inactivity before hibernating. Also hibernate for longer.
···4444 $sleep = 0;
4545 } else {
46464747- if ($this->shouldHibernate(60)) {
4848- break;
4747+ if ($this->getIdleDuration() > 15) {
4848+ $hibernate_duration = phutil_units('3 minutes in seconds');
4949+ if ($this->shouldHibernate($hibernate_duration)) {
5050+ break;
5151+ }
4952 }
50535154 // When there's no work, sleep for one second. The pool will