diff options
author | Christopher Baines <mail@cbaines.net> | 2021-05-13 22:40:59 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-05-13 22:40:59 +0100 |
commit | f5c64265c8e23d02472d15edcf9e9cc5e6cd0c85 (patch) | |
tree | b16a03dba4c73ee40978170e176d3e2de9f19fa3 | |
parent | 54fb4671e0b5d90a73c942117db615a482b5ea54 (diff) | |
download | build-coordinator-f5c64265c8e23d02472d15edcf9e9cc5e6cd0c85.tar build-coordinator-f5c64265c8e23d02472d15edcf9e9cc5e6cd0c85.tar.gz |
Use a bigger buffer when uploading logs
As I think this might make it faster.
-rw-r--r-- | guix-build-coordinator/agent-messaging/http.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-build-coordinator/agent-messaging/http.scm b/guix-build-coordinator/agent-messaging/http.scm index 752f354..06c3495 100644 --- a/guix-build-coordinator/agent-messaging/http.scm +++ b/guix-build-coordinator/agent-messaging/http.scm @@ -366,7 +366,8 @@ (lambda (request-port) (call-with-input-file file (lambda (file-port) - (dump-port file-port request-port)) + (dump-port file-port request-port + #:buffer-size (expt 2 20))) #:binary #t)) #:headers `((Authorization . ,auth-value))))) (if (>= (response-code response) 400) |