Skip to content

Commit 1250c07

Browse files
committed
up
1 parent bcbfaa9 commit 1250c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ void multithreadtest() {
127127
});
128128
listener.startlistening();
129129
std::vector<SL::WS_LITE::WSClient> clients;
130-
clients.reserve(100);
131-
for (auto i = 0; i < 100; i++) {
130+
clients.reserve(50);
131+
for (auto i = 0; i < 50; i++) {
132132
clients.push_back(SL::WS_LITE::WSClient::CreateClient(thrdcount));
133133
clients[i].onHttpUpgrade([&](const SL::WS_LITE::WSocket& socket) {
134134
lastheard = std::chrono::high_resolution_clock::now();

0 commit comments

Comments
 (0)