services.nar-serve.maxConcurrency
NixOS option
unsigned integer, meaning >=0
How many requests can walk an archive at the same time. Decompressing a NAR up to the wanted file is the whole cost of a request, thus this is what bounds the CPU use of the service. Requests over the limit wait for a free slot, they are not refused. Zero does not limit anything.
type: unsigned integer, meaning >=0Default
declared in: nixos/modules/services/networking/nar-serve.nixView source on NixOS/nixpkgs →0