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)
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
Unknown Object (File)
Oct 9 2024, 7:42 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable