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)
Sun, Feb 9, 3:35 AM
Unknown Object (File)
Sun, Feb 9, 3:34 AM
Unknown Object (File)
Sun, Feb 9, 3:34 AM
Unknown Object (File)
Sun, Feb 9, 3:34 AM
Unknown Object (File)
Sat, Feb 1, 6:31 AM
Unknown Object (File)
Tue, Jan 28, 2:21 AM
Unknown Object (File)
Fri, Jan 24, 7:48 PM
Unknown Object (File)
Fri, Jan 24, 7:48 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
Branch
daemon7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16141
Build 21422: Run Core Tests
Build 21421: arc lint + arc unit

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.