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)
Tue, Dec 17, 1:06 PM
Unknown Object (File)
Thu, Dec 12, 8:31 AM
Unknown Object (File)
Tue, Dec 10, 6:46 AM
Unknown Object (File)
Sun, Dec 8, 1:33 PM
Unknown Object (File)
Tue, Dec 3, 11:56 PM
Unknown Object (File)
Fri, Nov 29, 9:23 PM
Unknown Object (File)
Fri, Nov 29, 9:16 PM
Unknown Object (File)
Nov 27 2024, 1:27 AM
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.