diff options
| author | Paul Buetow <paul@buetow.org> | 2026-08-02 16:26:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-08-02 16:26:58 +0300 |
| commit | d12c07d60ab15ae04f5955576253ba189b21f5ac (patch) | |
| tree | b6e3b81e30ee5ee98605fd7da16fcb837fc25b23 /frontends | |
| parent | e864bb08320748a62429b60232ecc4d5885e61d5 (diff) | |
gogios: fix Shuriken check template comment (single-line <%#)
Rex's <%# ... %> only comments the first line; the multi-line comment
was parsed as Perl (bareword 'generation'/'1 week').
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index be003c4..3e8be39 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -185,11 +185,7 @@ "RunInterval": 300, "Args": ["-w", "2,1,1", "-c", "4,3,3"] }, - <%# Shuriken album freshness: status.json is written last by a successful - generation and pushed to the frontends by shuriken-sync, so a stale - epoch means the daily generation CronJob or the rsync sync is broken. - warn=1 week (604800s), crit=2 weeks (1209600s). Only run when the site - itself is reachable (DependsOn its HTTP checks). -%> + <%# Shuriken album freshness via status.json unix_epoch (written last on success, pushed by shuriken-sync); warn=1w, crit=2w; DependsOn the site HTTP checks. -%> "Check Shuriken Age irregular.ninja": { "Plugin": "/usr/local/bin/check_shuriken_age", "RandomSpread": 10, |
