2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra: services: Enable zstd compression.

* hydra/modules/sysadmin/services.scm (frontend-services)
<guix-publish-configuration>: Add zstd:19 compression.
This commit is contained in:
Ludovic Courtès 2021-03-20 15:02:40 +01:00
parent 73e1516c4b
commit 5d71355403
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,6 +1,6 @@
;;; GNU Guix system administration tools.
;;;
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This program is free software: you can redistribute it and/or modify
@ -452,7 +452,13 @@
(port 3000)
(cache "/var/cache/guix/publish")
(ttl nar-ttl)
(compression '(("gzip" 9) ("lzip" 9)))
;; See
;; <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00097.html>
;; for the compression ratio/decompression speed
;; tradeoffs.
;; TODO: Eventually, disable gzip, as discussed at
;; <https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00333.html>.
(compression '(("gzip" 9) ("lzip" 9) ("zstd" 19)))
(cache-bypass-threshold cache-bypass-threshold)
(workers publish-workers)))