We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91de739 commit 1e25259Copy full SHA for 1e25259
1 file changed
app/grandchallenge/github/views.py
@@ -126,7 +126,7 @@ def github_request_kwargs(self):
126
"Accept": "application/vnd.github+json",
127
"Authorization": f"token {self.github_user_token.access_token}",
128
},
129
- "timeout": 5,
+ "timeout": 10,
130
}
131
132
@cached_property
@@ -229,7 +229,7 @@ async def _get_installation_github_repos(
229
@async_to_sync
230
async def _get_all_github_repos(self):
231
semaphore = asyncio.Semaphore(ASYNC_CONCURRENCY)
232
- timeout = httpx.Timeout(10.0)
+ timeout = httpx.Timeout(self.github_request_kwargs["timeout"])
233
234
tasks = []
235
0 commit comments