1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/daemon
epriestley 9c798e5cca Provide bin/garbage for interacting with garbage collection
Summary:
Fixes T9494. This:

  - Removes all the random GC.x.y.z config.
  - Puts it all in one place that's locked and which you use `bin/garbage set-policy ...` to adjust.
  - Makes every TTL-based GC configurable.
  - Simplifies the code in the actual GCs.

Test Plan:
  - Ran `bin/garbage collect` to collect some garbage, until it stopped collecting.
  - Ran `bin/garbage set-policy ...` to shorten policy. Saw change in web UI. Ran `bin/garbage collect` again and saw it collect more garbage.
  - Set policy to indefinite and saw it not collect garabge.
  - Set policy to default and saw it reflected in web UI / `collect`.
  - Ran `bin/phd debug trigger` and saw all GCs fire with reasonable looking queries.
  - Read new docs.

{F857928}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9494

Differential Revision: https://secure.phabricator.com/D14219
2015-10-02 09:17:24 -07:00
..
application Execute Maniphest batch edits in the background with a web UI progress bar 2015-06-23 13:36:16 -07:00
controller Link to Harbormaster build targets from the Daemon worker page 2015-08-10 14:15:19 -07:00
event Track daemon unique IDs in Phabricator daemon logs 2015-02-24 14:50:37 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
management Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
query Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
storage Track daemon unique IDs in Phabricator daemon logs 2015-02-24 14:50:37 -08:00
view [Redesign] Update Daemons UI 2015-05-28 11:13:18 -07:00