SolidWallOfCode commented on code in PR #10098:
URL: https://github.com/apache/trafficserver/pull/10098#discussion_r1320469614


##########
iocore/net/UnixNetAccept.cc:
##########
@@ -45,10 +43,14 @@ net_accept(NetAccept *na, void *ep, bool blockable)
   Event *e               = static_cast<Event *>(ep);
   int res                = 0;
   int count              = 0;
-  const int loop         = NetAccept::accept_till_done;
   UnixNetVConnection *vc = nullptr;
   Connection con;
 
+  EThread *t             = e->ethread;
+  NetHandler *handler    = get_NetHandler(t);
+  int config_value       = handler->config.additional_accepts;

Review Comment:
   Could this value be put in the `NetAccept` because it's a process static, 
correct?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to