1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-13 09:06:14 +01:00
phorge-phorge/src/applications/diffusion
epriestley 845a7d8716 Allow the PullLocal daemon to actually hibernate
Summary:
Ref T12298. The PullLocal daemon has had hibernation code for a little while, but it never actually activated because we don't sleep for more than 15 seconds in any case.

Add a maximum sleep instead and use that to control the longest sleep we'll do for hibernation purposes.

Also, when a repository or repository URI is edited, write a NEEDS_UPDATE event into the message table to make sure the daemons de-hibernate.

Test Plan: Used `bin/phd debug pull`, saw the daemon actually hibernate instead of just sleeping for 15 seconds.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12298

Differential Revision: https://secure.phabricator.com/D17635
2017-04-06 15:41:19 -07:00
..
application Merge "Audit" more completely into "Diffusion" 2017-01-11 16:28:42 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Rename "needReviewerStatus()" into "needReviewers()" 2017-03-20 16:46:16 -07:00
data Don't track "phabricator/" staging area tags 2016-06-16 11:22:02 -07:00
doorkeeper Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
edge Expose the commit/task/revision relationship edges to "edge.search" 2017-04-02 19:49:55 -07:00
editor Allow the PullLocal daemon to actually hibernate 2017-04-06 15:41:19 -07:00
engine Show yellow "draft" bubble in Audit 2017-01-16 10:28:59 -08:00
engineextension Cache Almanac URIs for repositories 2016-12-06 09:14:45 -08:00
exception Make repository daemon locks more granular and forgiving 2016-05-13 05:17:27 -07:00
garbagecollector Support ID-based repository URIs, and canonicalize repository URIs 2016-02-18 09:56:28 -08:00
gitlfs Support slightly prettier repository URIs in Diffusion 2016-11-13 12:42:12 -08:00
herald Rename "needReviewerStatus()" into "needReviewers()" 2017-03-20 16:46:16 -07:00
management Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
panel Fixed typo 2016-12-19 17:56:27 -08:00
protocol Pass exception to PhutilProxyException 2017-02-08 13:24:44 -05:00
query Make the Files "TTL" API more structured 2017-04-04 16:16:28 -07:00
relationships Convert all standard relationship-editing actions to modern Relationships code 2016-06-29 11:24:52 -07:00
remarkup When commits have a "rewritten" hint, try to show that in handles in other applications 2016-08-24 09:35:19 -07:00
request Modernize UI for "Compare" in Diffusion 2016-12-05 18:10:11 -08:00
response Implement a Git LFS server which supports no operations 2016-03-17 08:08:43 -07:00
ssh Improve error messages for running git clone against a Mercurial repository 2016-12-02 07:30:03 -08:00
symbol Extend from Phobject 2015-06-15 18:02:27 +10:00
typeahead Allow commits to be queried by repository using the tagged(...) typehaead function 2017-02-27 10:46:55 -08:00
view Show commit audit status in repository history tables, including merge commit lists 2017-01-19 11:43:21 -08:00
xaction Prevent users from taking "edit"-like actions via comment forms if they don't have edit permission 2017-03-02 16:56:57 -08:00
DiffusionLintSaveRunner.php Return Diffusion diffs through Files, not directly over Conduit 2016-08-27 09:11:03 -07:00