javanna commented on PR #12569:
URL: https://github.com/apache/lucene/pull/12569#issuecomment-1727388144

   >  It might be worth using CallerRunsPolicy with a small queue in tests 
sometimes, as this is an interesting case that will make tasks run in the 
current thread.
   
   Given that TaskExecutor runs in the caller thread when the counter is above 
zero, I was thinking that we already cover the situation where we increment the 
counter for the caller thread. And that has no effect other than executing in 
the caller thread any further task.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to