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)
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
Unknown Object (File)
Mar 21 2024, 12:57 AM
Unknown Object (File)
Feb 11 2024, 11:42 AM
Unknown Object (File)
Jan 26 2024, 1:03 AM
Unknown Object (File)
Dec 22 2023, 9:41 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.