We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbfaa9 commit 1250c07Copy full SHA for 1250c07
Test/main.cpp
@@ -127,8 +127,8 @@ void multithreadtest() {
127
});
128
listener.startlistening();
129
std::vector<SL::WS_LITE::WSClient> clients;
130
- clients.reserve(100);
131
- for (auto i = 0; i < 100; i++) {
+ clients.reserve(50);
+ for (auto i = 0; i < 50; i++) {
132
clients.push_back(SL::WS_LITE::WSClient::CreateClient(thrdcount));
133
clients[i].onHttpUpgrade([&](const SL::WS_LITE::WSocket& socket) {
134
lastheard = std::chrono::high_resolution_clock::now();
0 commit comments