1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/bin
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
..
accountadmin
almanac Implement storage of a host ID and a public key for authorizing Conduit between servers 2014-10-03 22:52:41 +10:00
aphlict
audit
auth
cache
celerity
commit-hook
config
diviner
drydock
fact
feed
files
garbage Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
harbormaster
hunks Add a bin/hunks script to manage migrations of hunk data 2014-06-03 18:01:23 -07:00
i18n Write a very basic string extractor 2014-02-05 11:02:41 -08:00
lipsum
mail
phd
phortune Add some of a billing daemon skeleton 2015-01-30 11:29:05 -08:00
policy
remove Implement bin/remove, for structured destruction of objects 2014-05-01 18:23:31 -07:00
repository
search
sms Add SMS support 2014-05-09 12:47:21 -07:00
ssh-auth
ssh-auth-key
ssh-connect
ssh-exec
storage
trigger Add bin/trigger, for testing event triggers 2015-01-20 11:31:32 -08:00
worker Add bin/worker flood, for flooding the task queue with work 2014-11-24 11:10:15 -08:00