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/notification
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 Add FontIcon bridge to AppIcons 2015-01-24 23:43:01 -08:00
builder Desktop Notification support 2015-06-22 13:11:37 -07:00
client Extend from Phobject 2015-06-15 18:02:27 +10:00
controller Update Notifications for handleRequest 2015-08-04 09:32:56 -07:00
feed Desktop Notification support 2015-06-22 13:11:37 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
query [Redesign] PhabricatorApplicationSearchResultView 2015-06-19 11:46:20 +01:00
setup phtize all the things 2015-05-22 21:16:39 +10:00
storage Garbage collect old notifications 2015-06-11 06:55:13 +10:00
view Rewrite Aphlict to use Websockets 2015-01-08 10:03:00 -08:00