NixOS / infra

NixOS configurations for nixos.org and its servers
MIT License
230 stars 95 forks source link

cache_log: expire bucket logs after 30 days #307

Closed flokli closed 10 months ago

flokli commented 10 months ago

Since https://cs.tvl.fyi/depot/-/commit/e4adca0880547f2ea825aeec5f64671c6c0324ae the archaeology ec2 instance aggregates logs daily at 3am UTC, so there's no need to keep it around for 120 days.

We can delete it after 30 days, rather than moving it to IA.

Theoretically, we could even delete it after a day or two, but this gives us some slack to notice the job aggregation failed.

cc @zimbatm