1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/files
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
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Push construction of routing maps into Sites 2015-08-31 04:01:01 -07:00
applicationpanel Merge branch 'master' into redesign-2015 2015-05-22 12:57:32 -07:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit Add support for temporary files to file.allocate 2015-09-04 10:34:32 -07:00
config phtize all the things 2015-05-22 21:16:39 +10:00
controller Use setTable on File Transforms tables 2015-09-21 12:29:05 -07:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
engine Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
exception phtize all the things 2015-05-22 21:16:39 +10:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
lipsum Fix some linter violations 2015-01-03 09:11:41 +11:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management phtize all the things 2015-05-22 21:16:39 +10:00
markup phtize all the things 2015-05-22 21:16:39 +10:00
phid Make file handles have "/Fxxx" as the URI 2014-08-21 12:21:10 -07:00
query Move some PhabricatorSearchField subclasses 2015-07-06 22:52:05 +10:00
storage Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
transform Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
view phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorImageTransformer.php Extend from Phobject 2015-06-15 18:02:27 +10:00