masaori335 commented on a change in pull request #7117:
URL: https://github.com/apache/trafficserver/pull/7117#discussion_r471169914



##########
File path: iocore/hostdb/HostDB.cc
##########
@@ -1588,6 +1588,12 @@ HostDBContinuation::set_check_pending_dns()
   this->setThreadAffinity(this_ethread());
   HostDBContinuation *c = q.head;
   for (; c; c = static_cast<HostDBContinuation *>(c->link.next)) {

Review comment:
       You want to see `this` continuation is in the `Queue<HostDBContinuation> 
&q`?
   You can avoid this for-loop by using `q.in(this)`, I think.




----------------------------------------------------------------
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.

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


Reply via email to