add logging
This commit is contained in:
parent
658dec83cd
commit
b4e6fe63f5
3
main.py
3
main.py
@ -24,8 +24,9 @@ dp = Dispatcher(bot)
|
||||
|
||||
|
||||
async def check_updates():
|
||||
|
||||
logging.warning('Waiting for lock...')
|
||||
async with redis.lock('e621:update'):
|
||||
logging.warning('Lock acquired...')
|
||||
tag_list = [t.decode() for t in await redis.smembers('e621:subs')]
|
||||
tag_list.sort()
|
||||
for tl_idx in range(0, len(tag_list), 40):
|
||||
|
Loading…
Reference in New Issue
Block a user