update_manager: increase fetch timeout to 5 minutes

This should allow git's internal timeout mechanisms to trigger at the expense of potentially delaying response time if a fetch or pull hangs.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-05-15 07:14:17 -04:00
parent 158f92f17f
commit fd07b077b9
1 changed files with 1 additions and 1 deletions

View File

@ -803,7 +803,7 @@ class GitUpdater:
return status
GIT_FETCH_TIMEOUT = 30.
GIT_FETCH_TIMEOUT = 300.
GIT_FETCH_ENV_VARS = {
'GIT_HTTP_LOW_SPEED_LIMIT': "1000",
'GIT_HTTP_LOW_SPEED_TIME ': "20"