Don't keep "disabled" substituters running
For instance, it's pointless to keep copy-from-other-stores running if there are no other stores, or download-using-manifests if there are no manifests. This also speeds things up because we don't send queries to those substituters.
Showing
- perl/lib/Nix/Manifest.pm 4 additions, 1 deletionperl/lib/Nix/Manifest.pm
- scripts/copy-from-other-stores.pl.in 3 additions, 0 deletionsscripts/copy-from-other-stores.pl.in
- scripts/download-from-binary-cache.pl.in 7 additions, 4 deletionsscripts/download-from-binary-cache.pl.in
- scripts/download-using-manifests.pl.in 2 additions, 0 deletionsscripts/download-using-manifests.pl.in
- src/libstore/local-store.cc 25 additions, 2 deletionssrc/libstore/local-store.cc
- src/libstore/local-store.hh 2 additions, 0 deletionssrc/libstore/local-store.hh
- src/libutil/util.cc 1 addition, 0 deletionssrc/libutil/util.cc
- tests/substituter.sh 1 addition, 0 deletionstests/substituter.sh
- tests/substituter2.sh 1 addition, 0 deletionstests/substituter2.sh
Loading
Please register or sign in to comment