diff options
| author | Dennis Fink | 2026-10-31 08:43:03 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-31 08:46:58 +0100 |
| commit | 40ae4a862e00475a5b1c205045986475a790f39c (patch) | |
| tree | e044f9ae0019ebe2860dbc9c2258aa7dfb492955 /contrib | |
| parent | 53370723df05193938ce3c2d55a8e12f2a87b17b (diff) | |
| download | webmentions-ssg-40ae4a862e00475a5b1c205045986475a790f39c.tar.gz webmentions-ssg-40ae4a862e00475a5b1c205045986475a790f39c.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | contrib/webmentions-ssg.example.cfg | 9 |
1 files changed, 8 insertions, 1 deletions
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 |
