save user queries in redis so that user can refresh the page and still come back to their latest task

This commit is contained in:
Viktor Barzin 2025-07-06 12:02:25 +00:00
parent a055c92dea
commit d4b22deda0
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
7 changed files with 114 additions and 4 deletions

View file

@ -44,7 +44,7 @@ async def detail_query(detail_id: int) -> dict[str, Any]:
return await response.json()
@retry(wait=wait_random(min=1, max=2), stop=stop_after_attempt(3))
@retry(wait=wait_random(min=1, max=60), stop=stop_after_attempt(3))
async def listing_query(
*,
page: int,