Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Collector
Commits
204735b2
Commit
204735b2
authored
Mar 28, 2022
by
Hiro
🏄
Browse files
Switch to 2 parallel run
parent
fb4d7354
Pipeline
#34179
passed with stage
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/create-tarballs.sh
View file @
204735b2
...
...
@@ -120,7 +120,10 @@ for (( i = 0 ; i < ${#TARBALLS[@]} ; i++ )); do
fi
done
N
=
4
# N is a parameter that describes the number of tarballs that are created in
# parallel.
N
=
2
for
((
i
=
0
;
i <
${#
TARBALLS
[@]
}
;
i++
))
;
do
((
j
=
j%N
))
;
((
j++
==
0
))
&&
wait
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment