Skip to content

Fix per-host rate-limiting for Redis and Postgres backends#148

Merged
JWCook merged 2 commits intomainfrom
per-host-buckets
Apr 9, 2026
Merged

Fix per-host rate-limiting for Redis and Postgres backends#148
JWCook merged 2 commits intomainfrom
per-host-buckets

Conversation

@JWCook
Copy link
Copy Markdown
Owner

@JWCook JWCook commented Apr 9, 2026

  • And more generally, bucket_name should only be used as a prefix in per-host mode.
  • Add warning if a custom Limiter object is passed with per_host=True and no HostBucketFactory

Updates #147

@JWCook JWCook added the bug Something isn't working label Apr 9, 2026
@JWCook JWCook force-pushed the per-host-buckets branch from a66f55f to 3ebae0e Compare April 9, 2026 02:38
…nd no HostBucketFactory

Update readme example with custom Limiter object
@JWCook JWCook marked this pull request as ready for review April 9, 2026 21:38
@JWCook JWCook merged commit 0bef723 into main Apr 9, 2026
7 checks passed
@JWCook JWCook deleted the per-host-buckets branch April 9, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant