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
F14100851: D17540.diff
Tue, Nov 26, 3:07 PM
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
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