diff options
Diffstat (limited to 'guix-build-coordinator/utils.scm')
-rw-r--r-- | guix-build-coordinator/utils.scm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm index 1d5ddbd..afee6fc 100644 --- a/guix-build-coordinator/utils.scm +++ b/guix-build-coordinator/utils.scm @@ -57,8 +57,6 @@ with-port-timeouts - set-store-connection-timeout - request-query-parameters call-with-streaming-http-request @@ -262,15 +260,6 @@ (wait port "w")))) (thunk))) -(define* (set-store-connection-timeout store #:key (timeout 120)) - (define raw-port (store-connection-socket store)) - - (when (and (defined? 'SO_RCVTIMEO) - (not (running-on-the-hurd?))) - ;; This is only supported on Guile 3.0.9 and later - (setsockopt raw-port SOL_SOCKET SO_RCVTIMEO `(,timeout . 0)) - (setsockopt raw-port SOL_SOCKET SO_SNDTIMEO `(,timeout . 0)))) - (define* (call-with-streaming-http-request uri content-length callback |