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:
2025-11-26 10:07:35 -06:00
parent 19808dd44c
commit 51f6041ee4

View File

@@ -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: