Skip to content

Commit 9810c5b

Browse files
authored
refactor: change logging level to debug for per-route ratelimit (#1242)
1 parent a997fae commit 9810c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/http/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async def request(self, route: Route, **kwargs) -> Optional[Any]:
209209
await asyncio.sleep(_limiter.reset_after)
210210
continue
211211
if remaining is not None and int(remaining) == 0:
212-
log.warning(
212+
log.debug(
213213
f"The HTTP client has exhausted a per-route ratelimit. Locking route for {reset_after} seconds."
214214
)
215215
self._loop.call_later(reset_after, _limiter.release_lock)

0 commit comments

Comments
 (0)