mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix check_books job starting
This commit is contained in:
@@ -119,7 +119,7 @@ async def create_or_update_cached_file(data: CreateCachedFile):
|
|||||||
@router.post("/update_cache")
|
@router.post("/update_cache")
|
||||||
async def update_cache(request: Request):
|
async def update_cache(request: Request):
|
||||||
arq_pool: ArqRedis = request.app.state.arq_pool
|
arq_pool: ArqRedis = request.app.state.arq_pool
|
||||||
await arq_pool.enqueue_job("check_books", _job_id="check_books")
|
await arq_pool.enqueue_job("check_books")
|
||||||
|
|
||||||
return "Ok!"
|
return "Ok!"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user