aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-05-26 22:11:53 +0100
committerChristopher Baines <mail@cbaines.net>2021-05-26 22:11:53 +0100
commit3efe8a4365459798195812741f924eebcbfae629 (patch)
tree6dfa0dbaa05584be6070b6cc1591f15ad5d212e6
parent675c52d732f504232c0764ba1f03c5c54fd47763 (diff)
downloadbuild-coordinator-3efe8a4365459798195812741f924eebcbfae629.tar
build-coordinator-3efe8a4365459798195812741f924eebcbfae629.tar.gz
Reduce the threshold for compressing nars on the fly
Prefer upfront compression, as this might reduce GC activity while sending the data.
-rw-r--r--guix-build-coordinator/agent-messaging/http.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/agent-messaging/http.scm b/guix-build-coordinator/agent-messaging/http.scm
index 6ff2e6a..70b4bb7 100644
--- a/guix-build-coordinator/agent-messaging/http.scm
+++ b/guix-build-coordinator/agent-messaging/http.scm
@@ -271,7 +271,7 @@
;; store items, do all the compression up front to hopefully reduce the
;; time to send them.
(if (< (path-info-nar-size path-info)
- 5000000) ; 5MB
+ 1000000) ; 1MB
(retry-on-error
(lambda ()
(with-request-mutex