From 40ae4a862e00475a5b1c205045986475a790f39c Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 31 Oct 2026 08:43:03 +0100 Subject: build: add storage backend dependency groups Provide matching published extras and uv groups for Redis, Valkey, Memcached, MongoDB, and PostgreSQL so deployments can install the clients required by their selected rate-limit or Huey backend. Keep shared backend groups aligned where Redis dependencies are used by both Flask-Limiter and Huey. --- contrib/webmentions-ssg.example.cfg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg index 33afdfa..22fcf72 100644 --- a/contrib/webmentions-ssg.example.cfg +++ b/contrib/webmentions-ssg.example.cfg @@ -63,7 +63,14 @@ VERIFICATION_REAPER_SCHEDULE = "*/5 * * * *" # Rate limiting # --------------------------------------------------------------------------- # In-memory storage is for development/testing ONLY. Production requires shared -# storage, such as Redis, or the application will refuse to start. +# storage, or the application will refuse to start. Install the appropriate +# backend extra/uv group (redis, valkey, memcached, or mongodb). The Redis and +# Valkey groups also install Huey's Redis client; see README.md. +# Examples: +# RATELIMIT_STORAGE_URI = "redis://127.0.0.1:6379/1" +# RATELIMIT_STORAGE_URI = "memcached://127.0.0.1:11211" +# RATELIMIT_STORAGE_URI = "mongodb://127.0.0.1:27017" +# RATELIMIT_STORAGE_URI = "valkey://127.0.0.1:6379" RATELIMIT_STORAGE_URI = "memory://" RATELIMIT_HEADERS_ENABLED = True -- cgit v1.3.1