Fix Client_SimpleMulti test on macOS.
This commit is contained in:
parent
cb86d38913
commit
6044ee83fb
@ -417,7 +417,7 @@ class MultiImplPool {
|
||||
if (impls_.empty()) {
|
||||
init_openssl_threads();
|
||||
|
||||
impls_.resize(clamp(thread::hardware_concurrency(), 8u, 1000u) * 5 / 4);
|
||||
impls_.resize(clamp(thread::hardware_concurrency(), 8u, 24u) * 5 / 4);
|
||||
|
||||
net_query_stats_ = std::make_shared<NetQueryStats>();
|
||||
}
|
||||
|
@ -868,7 +868,7 @@ TEST(Client, Simple) {
|
||||
}
|
||||
|
||||
TEST(Client, SimpleMulti) {
|
||||
std::vector<td::Client> clients(50);
|
||||
std::vector<td::Client> clients(40);
|
||||
//for (auto &client : clients) {
|
||||
//client.execute({1, td::td_api::make_object<td::td_api::setLogTagVerbosityLevel>("td_requests", 1)});
|
||||
//}
|
||||
|
Loading…
Reference in New Issue
Block a user