From fd07b077b97c4209395fbb48cbc2c48f20161839 Mon Sep 17 00:00:00 2001 From: Arksine Date: Sat, 15 May 2021 07:14:17 -0400 Subject: [PATCH] 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 --- moonraker/components/update_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/update_manager.py b/moonraker/components/update_manager.py index cc4b367..30cfea5 100644 --- a/moonraker/components/update_manager.py +++ b/moonraker/components/update_manager.py @@ -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"