1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/drydock
epriestley 06f9272502 Garbage collect Drydock logs after 30 days
Summary:
Ref T9252. Drydock logs are almost exclusively useful as a diagnostic tool for debugging immediate problems, so GC them fairly aggressively.

(I expect 99% of the usefulness of these logs to be within the first 24 hours, basically "why isn't my thing working". I can't really think of any cases where having old logs would be useful.)

Test Plan:
  - Ran GC, saw it hit the log table (with no effect).
  - Changed TTL from 30 days to 30 seconds, ran GC, saw it wipe recent logs.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9252

Differential Revision: https://secure.phabricator.com/D14197
2015-10-01 08:09:27 -07:00
..
application Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
blueprint Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
capability Give Drydock resources a proper expiry mechanism 2015-09-28 09:35:14 -07:00
constants Modernize Drydock SearchEngine implementations 2015-09-24 09:56:49 -07:00
controller Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
customfield Modernize Drydock SearchEngine implementations 2015-09-24 09:56:49 -07:00
editor Allow Drydock blueprints to be disabled 2015-09-24 10:18:17 -07:00
exception Support working copies and separate allocate + activate steps for resources/leases in Drydock 2015-09-21 04:46:24 -07:00
garbagecollector Garbage collect Drydock logs after 30 days 2015-10-01 08:09:27 -07:00
interface Allow AlmanacHost blueprints to build a meaningful CommandInterface 2015-09-21 04:46:02 -07:00
management Allow Drydock leases to expire after a time limit 2015-09-23 13:54:27 -07:00
phid [drydock/core] Show blueprints / resources as links in Drydock view controllers 2015-09-23 10:52:23 -07:00
query Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
storage Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
typeahead Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
view Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
worker Give Drydock resources a proper expiry mechanism 2015-09-28 09:35:14 -07:00