Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
19bf094b
Unverified
Commit
19bf094b
authored
Mar 26, 2021
by
Stan Kladko
Committed by
GitHub
Mar 26, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #286 from skalenetwork/FIX_GIT_ACTIONS
Fix github actions
parents
5b031ead
9cfe402c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
VERSION
VERSION
+1
-1
ZMQServer.cpp
ZMQServer.cpp
+3
-5
No files found.
VERSION
View file @
19bf094b
1.
68
.1
1.
72
.1
ZMQServer.cpp
View file @
19bf094b
...
...
@@ -44,13 +44,11 @@ ZMQServer::ZMQServer(bool _checkSignature, const string &_caCertFile)
frontend
=
make_shared
<
zmq
::
socket_t
>
(
*
ctx_
,
ZMQ_ROUTER
);
backend
=
make_shared
<
zmq
::
socket_t
>
(
*
ctx_
,
ZMQ_DEALER
);
workerThreads
=
2
*
thread
::
hardware_concurrency
();
//workerThreads = 2 * thread::hardware_concurrency();
if
(
workerThreads
==
0
)
{
workerThreads
=
8
;
}
workerThreads
=
1
;
// do single threaded
for now
workerThreads
=
4
;
// do four threads
for now
if
(
_checkSignature
)
{
CHECK_STATE
(
!
_caCertFile
.
empty
());
...
...
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