From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Parallel downloads Date: Wed, 06 Nov 2019 17:08:11 +0100 Message-ID: <875zjxq978.fsf@ambrevar.xyz> References: <87pnid3qdh.fsf@ambrevar.xyz> <87k18kyjlm.fsf@nckx> <87wock97ye.fsf@ambrevar.xyz> <87k18h3tii.fsf@gnu.org> <87muddm110.fsf@ambrevar.xyz> <87eeyl10jq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSNr1-0004vq-Ot for guix-devel@gnu.org; Wed, 06 Nov 2019 11:08:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSNr0-00063K-05 for guix-devel@gnu.org; Wed, 06 Nov 2019 11:08:19 -0500 In-Reply-To: <87eeyl10jq.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> - Can we configure the default value? > > Yup, just pass =E2=80=98--max-jobs=3DN=E2=80=99 to the daemon. So I suppose you mean to use the `extra-options` field, e.g. =2D-8<---------------cut here---------------start------------->8--- (guix-service-type config =3D> (guix-configuration (inherit config) (extra-options '("--max-jobs=3D4")))) =2D-8<---------------cut here---------------end--------------->8--- Ludo, what do you think of Tobias suggestion and have an extra knob to specifically configure the number of download jobs? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3C7+sACgkQm9z0l6S7 zH+TEAf+P5LasiLViizL0ld8/T9LniMuiEZlawKL+s5DQEq3CtfFcBjE1KjcGjn1 gRYnxqxKuUB9WMDo1CjCQnwRP4u9VkWpSMk9L81918IUDrcHdkZJG/jUEsxSzZkY kBYeuC4DezIv/H6arHtnVmw16HKYmd2hnjQryZi7NkKrDsvKETiRA3zdqa0Uqazn 2qgsCoQjmfd9Clmgh2o0jq0lQVcRx6q8QUx1sPxU5WdyZnQfBxh+QN2HgoF7tZH/ y6UNsBkhoBThfeQlQOZKZNEjh6vFv/23G/63cOfOKs3Fy1XPyXFVr1ffZipO2hd+ FrabgVZRVrCXQ5/gCp8VDXhIdTMfEg== =UinL -----END PGP SIGNATURE----- --=-=-=--