increase client limit

This commit is contained in:
Riley S 2021-04-18 18:20:30 -04:00
parent 1a4a72ecdd
commit 26606c32c3
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ auto execute_as_client(std::string ipaddress, std::uint16_t port)
auto operation = get_input<int>("Pick Command\n\t1. Date\n\t2. Uptime\n\t3. Memory Use\n\t4. Netstat\n\t5. Current Users\n\t6. Running Processes\n\t7. Exit\n:>", "Invalid Selection", math::is_between<0, 8>);
if (operation == 7)
break;
auto num_clients = get_input<int>("Enter number of clients. (1-25): ", "Invalid Amount", math::is_between<0, 26>);
auto num_clients = get_input<int>("Enter number of clients. (1-100): ", "Invalid Amount", math::is_between<0, 101>);
std::vector<std::thread> threads{};
threads.reserve(num_clients);
metrics::job this_job{};