Public Access
feat(images): repair reported covers and achievement icons at night
This commit is contained in:
1 parent
a389bdd0c7
commit
246e255058
30 files changed
+1138
-28
No files matched your search
@@ -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)
|
||||
);
|
||||
Reference in new issue
Block a user