Page MenuHomePhabricator

Allow taskmaster daemons to hibernate
ClosedPublic

Authored by epriestley on Mar 24 2017, 8:28 PM.
Tags
None
Referenced Files
F14095962: D17559.diff
Tue, Nov 26, 1:01 AM
Unknown Object (File)
Fri, Nov 22, 2:40 AM
Unknown Object (File)
Sun, Nov 17, 8:58 PM
Unknown Object (File)
Mon, Oct 28, 9:39 AM
Unknown Object (File)
Oct 9 2024, 7:44 AM
Unknown Object (File)
Oct 8 2024, 7:40 AM
Unknown Object (File)
Oct 6 2024, 9:45 PM
Unknown Object (File)
Sep 20 2024, 5:56 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.