Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thomas Urban
stress-test
Commits
797b2f4f
Commit
797b2f4f
authored
Aug 23, 2019
by
Thomas Urban
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revising script to obey environment variables for client/test configuration
parent
4f2fc03c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
stress-http.js
stress-http.js
+4
-4
No files found.
stress-http.js
View file @
797b2f4f
...
...
@@ -28,10 +28,10 @@
"
use strict
"
;
const
MaxUrlCount
=
100
;
const
NumClients
=
20
;
const
Delay
Range
=
10
;
const
Delay
Minimum
=
10
;
const
MaxUrlCount
=
Math
.
max
(
parseInt
(
process
.
env
.
MAX_URL_COUNT
),
0
)
||
100
;
const
NumClients
=
Math
.
max
(
parseInt
(
process
.
env
.
NUM_CLIENTS
),
0
)
||
20
;
const
Delay
Minimum
=
Math
.
max
(
parseInt
(
process
.
env
.
DELAY_MINIMUM
),
0
)
||
10
;
const
Delay
Range
=
Math
.
max
(
parseInt
(
process
.
env
.
DELAY_RANGE
),
0
)
||
10
;
...
...
Write
Preview
Markdown
is supported
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