This commit is contained in:
bakatrouble 2023-03-30 22:38:14 +03:00
parent d1809b9b51
commit 9797ba4d24

View File

@ -131,8 +131,8 @@ async def update(msg: Message):
async def background_on_start(): async def background_on_start():
await redis.lock('e621:update').release()
while True: while True:
logging.warning('Checking updates...')
await check_updates() await check_updates()
await asyncio.sleep(60) await asyncio.sleep(60)