Enable retries middleware for task

This commit is contained in:
2023-05-20 20:22:27 +02:00
parent 30b7e15f25
commit a600be76bf

View File

@@ -107,7 +107,7 @@ async def cache_file(book: Book, file_type: str) -> Optional[CachedFile]:
) )
@broker.task @broker.task(retry_on_error=True)
async def cache_file_by_book_id( async def cache_file_by_book_id(
book_id: int, book_id: int,
file_type: str, file_type: str,