Skip to content

Commit 9b8ff42

Browse files
committed
increase networking worker threads dynamically
1 parent 0f8da8c commit 9b8ff42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/overload.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ struct Overload {
12341234
st->ConIn->ReadKeyStroke = Overload::ReadKeyStroke;
12351235

12361236
// Open transmit and receive processor threads
1237-
for (int i = 0; i < 32; i++)
1237+
for (int i = 0; i < NUMBER_OF_INCOMING_CONNECTIONS + NUMBER_OF_OUTGOING_CONNECTIONS; i++)
12381238
{
12391239
std::thread transmitProcessorThread(transmitProcessor);
12401240
transmitProcessorThread.detach();

0 commit comments

Comments
 (0)