[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: offload: Increase initial SSH connection timeout.
From: |
guix-commits |
Subject: |
branch master updated: offload: Increase initial SSH connection timeout. |
Date: |
Fri, 24 Feb 2023 22:05:05 -0500 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 53d718f61b offload: Increase initial SSH connection timeout.
53d718f61b is described below
commit 53d718f61b4f59bf240515a8f2000972d3dca7b8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Feb 24 21:24:52 2023 -0500
offload: Increase initial SSH connection timeout.
Fixes <https://issues.guix.gnu.org/61646>.
* guix/scripts/offload.scm (open-ssh-session): Increase connection timeout
from 10 s to 30 s.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
guix/scripts/offload.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index 578b3b9888..8c6132e7c3 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -220,7 +220,12 @@ number of seconds after which the connection times out."
(session (make-session #:user (build-machine-user machine)
#:host (build-machine-name machine)
#:port (build-machine-port machine)
- #:timeout 10 ;initial timeout (seconds)
+ ;; Multiple derivations may be offloaded in
+ ;; parallel, and when there is a large amount
+ ;; of data to be sent, it can choke lower
+ ;; bandwidth connections and cause timeouts, so
+ ;; set it to a large enough value.
+ #:timeout 30 ;initial timeout (seconds)
;; #:log-verbosity 'protocol
#:identity (build-machine-private-key machine)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: offload: Increase initial SSH connection timeout.,
guix-commits <=