chore: import MCTF services
- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
This commit is contained in:
commit
13f936bee9
1222 files changed
+21280
No files matched your search
Executable
+5
@@ -0,0 +1,5 @@
|
||||
FROM postgres:16.16-bookworm
|
||||
|
||||
COPY --chmod=755 cleaner.sh /cleaner.sh
|
||||
|
||||
CMD ["/cleaner.sh"]
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
while true; do
|
||||
psql --no-psqlrc --set=ON_ERROR_STOP=1 <<'SQL'
|
||||
delete from billing.reading
|
||||
where created_at <= now() - interval '10 minutes';
|
||||
SQL
|
||||
sleep 60
|
||||
done
|
||||
Reference in new issue
Block a user