mirror of
https://github.com/laurentS/slowapi.git
synced 2026-03-13 09:10:20 +08:00
Merge branch 'laurentS:master' into master
This commit is contained in:
@@ -633,7 +633,7 @@ class Limiter:
|
|||||||
if isinstance(e, RateLimitExceeded):
|
if isinstance(e, RateLimitExceeded):
|
||||||
raise
|
raise
|
||||||
if self._in_memory_fallback_enabled and not self._storage_dead:
|
if self._in_memory_fallback_enabled and not self._storage_dead:
|
||||||
self.logger.warn(
|
self.logger.warning(
|
||||||
"Rate limit storage unreachable - falling back to"
|
"Rate limit storage unreachable - falling back to"
|
||||||
" in-memory storage"
|
" in-memory storage"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user