Page MenuHomePhabricator

Allow taskmaster daemons to hibernate
ClosedPublic

Authored by epriestley on Mar 24 2017, 8:28 PM.
Tags
None
Referenced Files
F13158840: D17559.diff
Sun, May 5, 10:09 PM
Unknown Object (File)
Fri, May 3, 4:33 AM
Unknown Object (File)
Mon, Apr 29, 4:42 PM
Unknown Object (File)
Thu, Apr 25, 12:41 AM
Unknown Object (File)
Wed, Apr 17, 2:39 PM
Unknown Object (File)
Mon, Apr 8, 7:15 AM
Unknown Object (File)
Sun, Apr 7, 10:45 AM
Unknown Object (File)
Mar 21 2024, 9:21 PM
Subscribers
None

Details

Summary

Ref T12298. Like PullLocal daemons, this allows the last daemon in the pool to hibernate if there's no work to be done, and awakens the pool when work arrives.

Test Plan
  • Ran bin/phd debug task --trace.
  • Saw the pool hibernate and look for tasks.
  • Commented on an object.
  • Saw the pool wake up and process the queue.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 24 2017, 8:36 PM
This revision was automatically updated to reflect the committed changes.