1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 16:30:59 +01:00
phorge-phorge/src/applications/daemon
epriestley a3518e19a5 Merge GC daemon into Trigger daemon
Summary:
Fixes T7352. This reduces the memory footprint for instances by combining these two similar daemons into one daemon which handles the responsibilities of both.

The fit isn't 100% perfect here but it's pretty close, and the GC daemon is fairly trivial.

Test Plan:
  - Adjusted all the numbers to small numbers (5 second sleep, 120 second GC length).
  - Added a ton of logging.
  - Started trigger daemon.
    - Saw it run a GC cycle.
    - Saw it reschedule another cycle after 120 seconds (adjusted down from 4 hours).
  - Reverted all the logging/small numbers.
  - Ran `bin/phd start`, saw stable trigger daemon running.
  - Grepped for removed daemon class name.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7352

Differential Revision: https://secure.phabricator.com/D11872
2015-02-24 14:50:39 -08:00
..
application Remove getIconName from all applications 2015-01-30 12:11:21 -08:00
controller Update Phabricator for DaemonOverseer vs DaemonHandle split 2015-02-24 14:50:25 -08:00
event Track daemon unique IDs in Phabricator daemon logs 2015-02-24 14:50:37 -08:00
garbagecollector Daemons - introduce PhabricatorWorkerArchiveTaskQuery 2014-12-23 15:45:42 -08:00
management Merge GC daemon into Trigger daemon 2015-02-24 14:50:39 -08:00
query Track daemon unique IDs in Phabricator daemon logs 2015-02-24 14:50:37 -08:00
storage Track daemon unique IDs in Phabricator daemon logs 2015-02-24 14:50:37 -08:00
view Separate daemon task table rendering into a standalone class 2014-12-30 10:00:06 -08:00