| 447 | } |
| 448 | |
| 449 | void |
| 450 | NetHandler::configure_per_thread_values() |
| 451 | { |
| 452 | // figure out the number of threads and calculate the number of connections per thread |
| 453 | int threads = eventProcessor.thread_group[ET_NET]._count; |
| 454 | max_connections_per_thread_in = config.max_connections_in / threads; |
| 455 | max_requests_per_thread_in = config.max_requests_in / threads; |
| 456 | Dbg(dbg_ctl_net_queue, "max_connections_per_thread_in updated to %d threads: %d", max_connections_per_thread_in, threads); |
| 457 | Dbg(dbg_ctl_net_queue, "max_requests_per_thread_in updated to %d threads: %d", max_requests_per_thread_in, threads); |
| 458 | } |
| 459 | |
| 460 | void |
| 461 | NetHandler::manage_keep_alive_queue() |
no outgoing calls
no test coverage detected