From 3efe8a4365459798195812741f924eebcbfae629 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 26 May 2021 22:11:53 +0100 Subject: Reduce the threshold for compressing nars on the fly Prefer upfront compression, as this might reduce GC activity while sending the data. --- guix-build-coordinator/agent-messaging/http.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3