Skip to content

Commit 140f980

Browse files
feat: add 1-hour TTL (expire_after=3600) to HTTP response cache
Co-Authored-By: gl_anatolii.yatsuk <gl_anatolii.yatsuk@airbyte.io>
1 parent 8f79710 commit 140f980

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

airbyte_cdk/sources/streams/http/http_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def _request_session(self) -> requests.Session:
185185
return CachedLimiterSession(
186186
cache_name=sqlite_path,
187187
backend=backend,
188+
expire_after=3600,
188189
api_budget=self._api_budget,
189190
match_headers=True,
190191
)

0 commit comments

Comments
 (0)