fix(api): remove reference to non-existent TIER_LIMITS attribute
The RateLimiterService.__init__ was logging self.TIER_LIMITS which doesn't exist after refactoring to config-based tier limits. Changed to log the existing DM_QUESTION_LIMITS attribute instead.
This commit is contained in:
@@ -107,7 +107,7 @@ class RateLimiterService:
|
||||
|
||||
logger.info(
|
||||
"RateLimiterService initialized",
|
||||
tier_limits=self.TIER_LIMITS
|
||||
dm_question_limits=self.DM_QUESTION_LIMITS
|
||||
)
|
||||
|
||||
def _get_daily_key(self, user_id: str, day: Optional[date] = None) -> str:
|
||||
|
||||
Reference in New Issue
Block a user