fix
This commit is contained in:
parent
d1809b9b51
commit
9797ba4d24
2
main.py
2
main.py
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user