get_redis() is an async function but was called without await in _cached_memberships(), causing RuntimeWarning and silently bypassing the Redis membership cache on every request — all membership lookups were hitting MongoDB instead of cache. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| authz.py | ||
| config.py | ||
| database.py | ||
| dependencies.py | ||
| logging.py | ||
| redis.py | ||
| secrets_config.py | ||
| security.py | ||
| seed.py | ||