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
Unknown Object (File)
Sat, Nov 23, 5:06 AM
Unknown Object (File)
Mon, Nov 18, 8:34 PM
Unknown Object (File)
Mon, Nov 11, 6:10 AM
Unknown Object (File)
Mon, Nov 4, 4:13 PM
Unknown Object (File)
Wed, Oct 30, 8:43 AM
Unknown Object (File)
Oct 16 2024, 12:43 AM
Unknown Object (File)
Oct 15 2024, 4:56 PM
Unknown Object (File)
Oct 14 2024, 8:07 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
Branch
wake3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16101
Build 21365: Run Core Tests
Build 21364: arc lint + arc unit