aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDennis Fink2026-10-31 20:43:33 +0100
committerDennis Fink2026-10-31 20:43:33 +0100
commit7035e9f9467684cccae2b7ff3faaa62e6a9f91aa (patch)
tree8d14e16fa0b669353052ee51eeeb1da60fa16d78 /contrib
parent3a3284abe23e143cbb638877f47958c82afa3367 (diff)
downloadwebmentions-ssg-7035e9f9467684cccae2b7ff3faaa62e6a9f91aa.tar.gz
webmentions-ssg-7035e9f9467684cccae2b7ff3faaa62e6a9f91aa.zip
fix(core): harden local setup and Huey configuration
Create local development and test directories automatically so fresh checkouts can start without pre-existing logging or instance paths. Reject in-memory and blackhole Huey backends in production because they cannot reliably deliver queued work across separate web and worker processes.
Diffstat (limited to '')
-rw-r--r--contrib/webmentions-ssg.example.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg
index a5dbaf9..4beb678 100644
--- a/contrib/webmentions-ssg.example.cfg
+++ b/contrib/webmentions-ssg.example.cfg
@@ -162,6 +162,8 @@ MAX_TARGET_BYTES = 1_000_000
# scheduled-task and result data before restarting *both* with JSON.
# Old pickle payloads cannot be read by the new serializer. Do not deserialize
# legacy data from any backend that untrusted parties could have modified.
+# Production startup refuses the implicit memory:// fallback, as well as
+# blackhole://, since neither can reliably deliver work to a separate process.
HUEY_URL = "redis://127.0.0.1:6379/0"
# ---------------------------------------------------------------------------