Page MenuHomePhabricator

Allow taskmaster daemons to hibernate
ClosedPublic

Authored by epriestley on Mar 24 2017, 8:28 PM.
Tags
None
Referenced Files
F18831401: D17559.id.diff
Oct 25 2025, 12:49 PM
F18828105: D17559.diff
Oct 24 2025, 2:18 PM
F18756622: D17559.id42229.diff
Oct 5 2025, 12:25 PM
F18631373: D17559.diff
Sep 16 2025, 3:10 PM
F18566124: D17559.id.diff
Sep 9 2025, 2:19 PM
F18500758: D17559.diff
Sep 4 2025, 9:19 PM
F18468074: D17559.diff
Sep 2 2025, 2:15 PM
F18380951: D17559.id42231.diff
Aug 28 2025, 6:38 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.