Subject: Re: bug#50040: [PATCH 0/2] publish: Always render nar/narinfo during backing.

From: Mathieu Othacehe <[email-masked]>
Date: Wed, 06 Oct 2021 08:58:38 +0000

Hello,

> * guix/scripts/publish.scm (render-narinfo): Defer the narinfo string creation
> to the http-write procedure.
> (compression->sexp, sexp->compression): New procedures.
> ("X-Nar-Compression"): Use them.
> ("X-Narinfo-Compressions"): New custom header.
> (strip-headers): Add the x-nar-path header.
> (http-write): Add narinfo on-the-fly creation support. It happens in a
> separated thread to prevent blocking the main thread.

I applied this one and updated the Guix package revision. Let's see if
it brings some improvements.

Thanks,

Mathieu