Skip to content

Commit 4cf4150

Browse files
danielshtels3rius
andauthored
Update taskiq_redis/list_schedule_source.py
Co-authored-by: Pavel Kirilin <s3riussan@gmail.com>
1 parent 08a9e98 commit 4cf4150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq_redis/list_schedule_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async def get_schedules(self) -> List["ScheduledTask"]:
185185
async with Redis(connection_pool=self._connection_pool) as redis:
186186
buffer = []
187187
crons = await redis.lrange(self._get_cron_key(), 0, -1) # type: ignore
188-
logger.debug("Got cron schedules: %s", crons)
188+
logger.debug("Got %d cron schedules", len(crons))
189189
if crons:
190190
buffer.extend(crons)
191191
timed.extend(await redis.lrange(self._get_time_key(current_time), 0, -1)) # type: ignore

0 commit comments

Comments
 (0)