Page MenuHomePhabricator

Allow the PullLocal daemon to hibernate, and wake it when repositories need an update
ClosedPublic

Authored by epriestley on Mar 23 2017, 2:02 AM.
Tags
None
Referenced Files
F18826432: D17540.id.diff
Fri, Oct 24, 3:57 AM
F18825254: D17540.diff
Thu, Oct 23, 8:36 PM
F18785893: D17540.diff
Tue, Oct 14, 2:30 PM
F18761037: D17540.id42198.diff
Mon, Oct 6, 11:58 AM
F18590440: D17540.diff
Sep 12 2025, 6:05 AM
F18566117: D17540.id.diff
Sep 9 2025, 2:19 PM
F18500752: D17540.diff
Sep 4 2025, 9:18 PM
F18488511: D17540.diff
Sep 3 2025, 8:47 PM
Subscribers
None

Details

Summary

Ref T12298. This allows the PullLocal daemon to hibernate like the Trigger daemon, but automatically wakes it back up when it needs to do something.

Test Plan
  • Ran bin/phd debug pulllocal --trace.
  • Saw the daemon hibernate after doing a checkup on repositories.
  • Saw periodic queries to look for new update messages.
  • After clicking "Update Now" in the web UI to schedule an update, saw the daemon wake up immediately.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable