Skip to content

Commit

Permalink
Merge pull request #70 from openstreetmap-polska/dev
Browse files Browse the repository at this point in the history
Release to main
  • Loading branch information
Zaczero authored Apr 4, 2024
2 parents bc74a77 + c01d4d1 commit ebab1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/cache_response_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ async def _set_cached_response(url: URL, cached: CachedResponse) -> None:
logging.debug('Caching response for %r', key)

async with redis() as conn:
await conn.set(key, value, ex=ttl, nx=True)
await conn.set(key, value, ex=ttl)

0 comments on commit ebab1c2

Please sign in to comment.