File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 66if [ -z " $1 " ]; then
77 echo " Using default burst value: 10"
88elif ! [[ " $1 " =~ ^[0-9]+$ ]]; then
9- echo " Error: First argument must be a number."
9+ echo " Error: Argument must be a number."
1010 exit 1
1111else
1212 burst=$1
1515
1616if [ -z " $2 " ]; then
1717 echo " Using default counter start value: 1"
18+ counter=1
1819elif ! [[ " $2 " =~ ^[0-9]+$ ]]; then
1920 echo " Error: Second argument must be a number."
2021 exit 1
2324 echo " Starting counter from: $counter "
2425fi
2526
26- for (( i = 0 ; i < burst; i ++ ))
27+ while true
2728do
28- # Run in backaground to be able to run onece per second, and not wait for the previous one to finish
29+ # Run in backaground to be able to run onece per second, and not wait for the previous one to finish
2930 ./batcher/client/generate_proof_and_send.sh $counter $burst &
3031 sleep 1
3132 counter=$(( counter + 1 ))
You can’t perform that action at this time.
0 commit comments