increase batch size
All checks were successful
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (pull_request) Successful in 17m33s
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 7s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m19s

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2025-01-26 12:27:30 -05:00
parent 9263ddff59
commit b794dbda7b
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -1,8 +1,8 @@
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#jq nixpkgs#gnused nixpkgs#nixVersions.latest nixpkgs#attic-client --command bash
set -x
set -v
#set -x
#set -v
set -e
# retrieve all paths under 100M
@ -12,7 +12,7 @@ nix_paths=$(nix path-info --json --all --closure-size \
readarray -t nix_path_array < <(echo "$nix_paths")
batchsize=10
batchsize=1000
for((i=0; i < ${#nix_path_array[@]}; i+=batchsize))
do