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
i4
manycore
emper-io-eval
Commits
eeb4133f
Commit
eeb4133f
authored
Dec 05, 2021
by
Florian Fischer
Browse files
eval.py: fix EMPER_WORKER_COUNT server env variable
parent
e6f7c39e
Changes
1
Hide whitespace changes
Inline
Side-by-side
eval.py
View file @
eeb4133f
...
...
@@ -332,7 +332,7 @@ if __name__ == '__main__':
ncpus
=
os
.
cpu_count
()
if
ncpus
is
not
None
:
workerCount
=
ncpus
//
2
SERVER_ENV
[
'
selected
EMPER_WORKER_COUNT'
]
=
str
(
workerCount
)
SERVER_ENV
[
'EMPER_WORKER_COUNT'
]
=
str
(
workerCount
)
CLIENT_ENV
[
'EMPER_WORKER_COUNT'
]
=
str
(
workerCount
)
CLIENT_ENV
[
'EMPER_PINNING_OFFSET'
]
=
str
(
workerCount
-
1
)
else
:
...
...
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