We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315796a commit 7944406Copy full SHA for 7944406
src/ghga_connector/constants.py
@@ -22,4 +22,4 @@
22
MAX_PART_NUMBER = 10000
23
MAX_RETRIES = 5
24
MAX_WAIT_TIME = 60 * 60
25
-CACHE_MIN_FRESH = 5
+CACHE_MIN_FRESH = 3
src/ghga_connector/core/client.py
@@ -71,7 +71,7 @@ def get_cache_transport(
71
cache_transport = hishel.AsyncCacheTransport(
72
transport=wrapped_transport or httpx.AsyncHTTPTransport(),
73
storage=hishel.AsyncInMemoryStorage(
74
- ttl=50, capacity=512
+ ttl=57, capacity=512
75
), # persist for 1 minute
76
controller=hishel.Controller(
77
cacheable_methods=["POST", "GET"],
0 commit comments