feat(images): repair reported covers and achievement icons at night
Build, Test & Push Core Service / quality-check (push) Successful in 56s
Build, Test & Push Core Service / docker (push) Successful in 1m24s

This commit is contained in:
lobo committed 2026-09-26 12:07:07 +02:00
1 parent a389bdd0c7
commit 246e255058
30 files changed
+1138 -28

No files matched your search

+5
View File
@@ -61,6 +61,11 @@ app:
achievement-ttl-hours: 1
schema-ttl-days: 30
speedrun-ttl-days: 30
# Reported broken pictures, repaired after the nightly sync.
image-repair-cron: "0 30 1 * * *"
image-repair-batch: 200
image-repair-max-attempts: 3
image-repair-retry-days: 30
resilience4j:
retry:
@@ -0,0 +1,9 @@
-- Pictures a browser could not load. One row per game and kind; a new report only moves reported_at.
CREATE TABLE broken_image (
appid BIGINT NOT NULL,
kind VARCHAR(24) NOT NULL,
reported_at TIMESTAMPTZ NOT NULL,
checked_at TIMESTAMPTZ,
attempts INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (appid, kind)
);