increase client limit

master
Riley S 1 year ago
parent 1a4a72ecdd
commit 26606c32c3
  1. 2
      main.cpp

@ -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{};

Loading…
Cancel
Save