aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/webmentions-ssg.example.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg
index d214312..7dfdd7a 100644
--- a/contrib/webmentions-ssg.example.cfg
+++ b/contrib/webmentions-ssg.example.cfg
@@ -79,6 +79,14 @@ SOURCE_BASE_URL = "https://example.com/"
# Huey cron expression: minute hour day-of-month month day-of-week.
SCANNER_SCHEDULE = "0 * * * *" # every hour
+# Temporary delivery failures use persisted exponential backoff: 1, 2, 4,
+# 8, then 16 hours between attempts with these defaults. After six total
+# attempts for a revision, the failure becomes terminal. A changed source or
+# explicit manual resend starts a fresh retry budget.
+SEND_MAX_ATTEMPTS = 6
+SEND_RETRY_BASE_SECONDS = 3600
+SEND_RETRY_MAX_SECONDS = 86400
+
# Do not send Webmentions to your own site. Glob patterns are supported here.
IGNORED_HOSTNAMES = ("example.com", "*.example.com")
MAX_TARGET_BYTES = 1_000_000