#551 [API/Perf] rate_limiter.py TenantRateLimiter instantiated per request

closed high Created 2025-12-17 16:30 · Updated 2025-12-17 20:02

Description

Edit
File: api/middleware/rate_limiter.py:31. TenantRateLimiter() is instantiated on EVERY rate limit check. Unnecessary object allocation overhead on every request. FIX: Use module-level singleton pattern.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...