-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Conversation
Thank you for reflecting idea !! |
I missed that you are passing the new io_context to init. Thanks for pointing that out. |
@bspark8 I've added a new io_context for the websocketpp server as you suggested. |
@heifner Thank you for additional threading for the part that receives the HTTP requests. Current patch
|
…ssing send_http_response
9d77332
to
19dc3bd
Compare
@@ -138,6 +139,13 @@ namespace eosio { | |||
|
|||
websocket_server_type server; | |||
|
|||
uint16_t thread_pool_size = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we still want to default to 2 threads, even though we can have 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we now only load http_plugin if we need it, sure.
Change Description
Consensus Changes
None
API Changes
None
Documentation Additions
--http-threads arg (=2) Number of worker threads in http thread pool