fix
This commit is contained in:
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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user