MCPcopy Create free account
hub / github.com/apache/trafficserver / configure_per_thread_values

Method configure_per_thread_values

src/iocore/net/NetHandler.cc:449–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void
450NetHandler::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
460void
461NetHandler::manage_keep_alive_queue()

Callers 2

mainNetEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected