1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications
epriestley 4ef918e213 Add a garbage collector daemon
Summary:
Phabricator generates a bunch of data that we don't need to keep around forever,
add a GC daemon to get rid of it with some basic configuration options.

This needs a couple more diffs to get some of the details but I think this is a
reasonable start.

I also fixed a couple of UI things related to this, e.g. the daemon logs page
going crazy when a daemon gets stuck in a loop and dumps tons of data to stdout.

Test Plan:
  - Ran gc daemon in 'phd debug' mode and saw it delete stuff, then sleep once
it had cleaned everything up.
  - Mucked around with TTLs and verified they work correctly.
  - Viewed gc'd transcripts in the web interface and made sure they displayed
okay.
  - Viewed daemon logs before/after garbage collection.
  - Running some run-at / run-for tests now, I'll update if the daemon doesn't
shut off in ~10-15 minutes. :P

Reviewed By: tuomaspelkonen
Reviewers: jungejason, tuomaspelkonen, aran
CC: aran, tuomaspelkonen, epriestley
Differential Revision: 583
2011-07-05 13:49:11 -07:00
..
auth Revise administrative workflow for user creation 2011-05-31 13:06:32 -07:00
base Use DatabaseConfigurationProvider to get DB info 2011-06-13 14:59:28 -07:00
conduit Validate the provided "host" key for certain Conduit methods 2011-07-05 10:10:13 -07:00
countdown Make "Countdown" aware of time locales 2011-06-26 11:53:34 -07:00
daemon Add a garbage collector daemon 2011-07-05 13:49:11 -07:00
differential Deal more gracefully with unusual display changesets 2011-07-05 09:55:35 -07:00
diffusion Add timezone support 2011-06-18 13:07:43 -07:00
directory Use Javelin workflow on directory item deletion 2011-05-28 11:57:31 -07:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
files Allow affiliations to carry project ownership information; transform profile 2011-06-28 06:40:41 -07:00
help/controller Provide basic structure for keyboard shortcuts 2011-06-07 11:23:19 -07:00
herald Add a garbage collector daemon 2011-07-05 13:49:11 -07:00
maniphest Slightly improve Maniphest documentation. 2011-07-04 13:04:22 -07:00
metamta Allow Phabricator to be configured to use a public Reply-To address 2011-07-03 12:31:00 -07:00
owners Removing reordering code that wasn't needed 2011-04-20 17:07:46 -07:00
paste Add a syntax highlight dropdown, if pygments is enabled. 2011-07-04 12:23:43 -04:00
people Correctly localize times in the user list 2011-07-05 09:59:20 -07:00
phid Handle the case when a repository was deleted 2011-07-01 19:10:47 -07:00
preferences/controller Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
project Use phutil_utf8_shorten() in PhabricatorProjectListController 2011-07-05 09:55:43 -07:00
repository Improve search result listing 2011-06-29 13:25:38 -07:00
search Allow Maniphest filtering by "upforgrabs" explicitly 2011-06-29 13:59:45 -07:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Allow Maniphest filtering by "upforgrabs" explicitly 2011-06-29 13:59:45 -07:00
uiexample Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Lint fluff. 2011-02-06 12:58:01 -08:00