1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00
phorge-phorge/scripts
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
..
daemon Show logs to the console in 'phd debug' 2011-06-26 20:41:08 -07:00
install Add a garbage collector daemon 2011-07-05 13:49:11 -07:00
mail Skip attaching 'inline' text attachments 2011-06-12 22:38:57 -07:00
repository Update Phabricator to new PhutilServiceProfiler APIs 2011-05-16 17:10:18 -07:00
search Allow Maniphest tasks to be filtered by Project 2011-06-29 21:56:47 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Use DatabaseConfigurationProvider to get DB info 2011-06-13 14:59:28 -07:00
user Mask typed passwords as they are entered into 'accountadmin' 2011-05-28 11:52:59 -07:00
__init_env__.php Set time zone for PhabricatorRepositoryCommitDiscoveryDaemon 2011-05-30 15:38:43 -07:00
__init_script__.php Ensure syntax errors and other configuration problems are surfaced to the user. 2011-05-27 16:59:21 -07:00
celerity_mapper.php Provide basic structure for keyboard shortcuts 2011-06-07 11:23:19 -07:00