Fix missing parameter in RateLimiter repr

This commit is contained in:
DevilXD committed 2024-09-20 23:07:58 +02:00
1 parent bd048e0cfa
commit 6c76b968a7
1 file changed
+1 -1
+1 -1
View File
@@ -337,7 +337,7 @@ class RateLimiter:
self._cond: asyncio.Condition = asyncio.Condition() self._cond: asyncio.Condition = asyncio.Condition()
def __repr__(self) -> str: def __repr__(self) -> str:
return f"{self.__class__.__name__}(capacity={self.total}/{self.capacity})" return f"{self.__class__.__name__}({self.concurrent}/{self.total}/{self.capacity})"
def __del__(self) -> None: def __del__(self) -> None:
if self._reset_task is not None: if self._reset_task is not None: