You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/11/19 16:46:26 UTC

[GitHub] [trafficserver] duke8253 commented on a change in pull request #7328: Remove unnecessary check

duke8253 commented on a change in pull request #7328:
URL: https://github.com/apache/trafficserver/pull/7328#discussion_r527037081



##########
File path: iocore/eventsystem/P_UnixEThread.h
##########
@@ -96,11 +96,7 @@ EThread::schedule(Event *e)
   // client VC, it can be HttpCacheSM etc. so save the flags
   e->continuation->control_flags.set_flags(get_cont_flags().get_flags());
 
-  if (e->ethread == this_ethread()) {
-    EventQueueExternal.enqueue_local(e);
-  } else {
-    EventQueueExternal.enqueue(e);
-  }
+  EventQueueExternal.enqueue(e);

Review comment:
       I explained the reason for doing this in the linked issue #7327 




----------------------------------------------------------------
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:
users@infra.apache.org