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
F15462861: D17540.id42198.diff
Tue, Apr 1, 6:16 PM
F15460833: D17540.id42186.diff
Tue, Apr 1, 2:47 AM
F15441541: D17540.id.diff
Wed, Mar 26, 6:43 PM
F15439033: D17540.id.diff
Wed, Mar 26, 5:18 AM
F15438033: D17540.diff
Tue, Mar 25, 10:53 PM
F15433630: D17540.id42186.diff
Tue, Mar 25, 12:08 AM
F15400394: D17540.id.diff
Mar 17 2025, 11:23 AM
F15367350: D17540.id42186.diff
Mar 11 2025, 5:40 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