increase batch size
All checks were successful
All checks were successful
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
9263ddff59
commit
b794dbda7b
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env nix
|
#!/usr/bin/env nix
|
||||||
#! nix shell nixpkgs#bash nixpkgs#jq nixpkgs#gnused nixpkgs#nixVersions.latest nixpkgs#attic-client --command bash
|
#! nix shell nixpkgs#bash nixpkgs#jq nixpkgs#gnused nixpkgs#nixVersions.latest nixpkgs#attic-client --command bash
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
set -v
|
#set -v
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# retrieve all paths under 100M
|
# 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")
|
readarray -t nix_path_array < <(echo "$nix_paths")
|
||||||
|
|
||||||
batchsize=10
|
batchsize=1000
|
||||||
|
|
||||||
for((i=0; i < ${#nix_path_array[@]}; i+=batchsize))
|
for((i=0; i < ${#nix_path_array[@]}; i+=batchsize))
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user