Page MenuHomePhabricator

Allow taskmaster daemons to hibernate
ClosedPublic

Authored by epriestley on Mar 24 2017, 8:28 PM.
Tags
None
Referenced Files
F15478018: D17559.id42231.diff
Mon, Apr 7, 7:44 PM
F15476756: D17559.id42229.diff
Mon, Apr 7, 9:07 AM
F15449008: D17559.id.diff
Fri, Mar 28, 8:08 AM
F15431994: D17559.diff
Mon, Mar 24, 3:44 PM
F15415520: D17559.id.diff
Thu, Mar 20, 6:25 AM
F15413181: D17559.diff
Wed, Mar 19, 5:22 PM
F15327780: D17559.diff
Mar 7 2025, 5:02 AM
Unknown Object (File)
Feb 20 2025, 5:31 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.