fix: delete analytics logs older than 2 days and give vector a 512 MiB cap

- every instance gets a pg_cron job (set up on create, upgrade and resume)
  that deletes _analytics.log_events_* rows older than 2 days and runs the
  first cleanup right away; Logflare never deletes stored logs, and instance
  3's 2 GB db image died 100% full of them on 2026-10-06, after which
  analytics 500'd every delivery and vector was OOM-killed by its
  undeliverable backlog every few minutes
- vector's memory limit back to 512 MiB, the ceiling the production
  supabase charts carry; the retention job bounds its backlog, so 1024 MiB
  is not needed anymore
- version 1.3.2
This commit is contained in:
Igor K.
2026-10-06 20:28:29 +03:00
parent 4bcdf6907c
commit a923839c47
4 changed files with 89 additions and 22 deletions
+1 -1
View File
@@ -1 +1 @@
1.3.1
1.3.2