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
F15400394: D17540.id.diff
Mon, Mar 17, 11:23 AM
F15367350: D17540.id42186.diff
Tue, Mar 11, 5:40 PM
F15283977: D17540.diff
Tue, Mar 4, 9:00 AM
Unknown Object (File)
Feb 11 2025, 8:28 AM
Unknown Object (File)
Feb 9 2025, 3:33 AM
Unknown Object (File)
Feb 9 2025, 3:33 AM
Unknown Object (File)
Feb 9 2025, 3:33 AM
Unknown Object (File)
Feb 9 2025, 3:33 AM
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
Branch
wake3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16101
Build 21365: Run Core Tests
Build 21364: arc lint + arc unit