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, Dec 14, 5:06 PM
Unknown Object (File)
Sat, Dec 7, 4:47 AM
Unknown Object (File)
Thu, Dec 5, 11:21 AM
Unknown Object (File)
Thu, Dec 5, 7:59 AM
Unknown Object (File)
Wed, Nov 27, 12:21 PM
Unknown Object (File)
Tue, Nov 26, 3:07 PM
Unknown Object (File)
Nov 23 2024, 5:06 AM
Unknown Object (File)
Nov 18 2024, 8:34 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