Skip to content

Commit 7160ca1

Browse files
authored
fix: debug log for pending messages count in RedisStreamBroker (#96)
1 parent 756dcb4 commit 7160ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq_redis/redis_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ async def listen(self) -> AsyncGenerator[AckableMessage, None]:
310310
)
311311
logger.debug(
312312
"Found %d pending messages in stream %s",
313-
len(pending),
313+
len(pending[1]),
314314
stream,
315315
)
316316
for msg_id, msg in pending[1]:

0 commit comments

Comments
 (0)