Page MenuHomePhabricator

Allow taskmaster daemons to hibernate
ClosedPublic

Authored by epriestley on Mar 24 2017, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 25 2026, 8:51 PM
Unknown Object (File)
Jan 17 2026, 4:24 PM
Unknown Object (File)
Jan 17 2026, 4:19 PM
Unknown Object (File)
Oct 25 2025, 12:49 PM
Unknown Object (File)
Oct 24 2025, 2:18 PM
Unknown Object (File)
Oct 5 2025, 12:25 PM
Unknown Object (File)
Sep 16 2025, 3:10 PM
Unknown Object (File)
Sep 9 2025, 2:19 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.