Skip to content

Commit fd04a59

Browse files
committed
Temporarily disable min-fresh
1 parent 7944406 commit fd04a59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ghga_connector/core/downloading/api_calls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def _get_authorization(
5252
"Accept": "application/json",
5353
"Authorization": f"Bearer {decrypted_token}",
5454
"Content-Type": "application/json",
55-
"Cache-Control": f"min-fresh={CACHE_MIN_FRESH}",
55+
# "Cache-Control": f"min-fresh={CACHE_MIN_FRESH}",
5656
}
5757
)
5858

src/ghga_connector/core/work_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def get_work_order_token(self, *, file_id: str) -> str:
100100
headers = httpx.Headers(
101101
{
102102
"Authorization": f"Bearer {self.access_token}",
103-
"Cache-Control": f"min-fresh={CACHE_MIN_FRESH}",
103+
# "Cache-Control": f"min-fresh={CACHE_MIN_FRESH}",
104104
}
105105
)
106106
response = await self._call_url(fn=self.client.post, headers=headers, url=url)

0 commit comments

Comments
 (0)