Skip to content

Commit 315796a

Browse files
committed
Further decreased cache ttl
1 parent 3769fcb commit 315796a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ghga_connector/core/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_cache_transport(
7171
cache_transport = hishel.AsyncCacheTransport(
7272
transport=wrapped_transport or httpx.AsyncHTTPTransport(),
7373
storage=hishel.AsyncInMemoryStorage(
74-
ttl=60, capacity=512
74+
ttl=50, capacity=512
7575
), # persist for 1 minute
7676
controller=hishel.Controller(
7777
cacheable_methods=["POST", "GET"],

0 commit comments

Comments
 (0)