s1monw commented on issue #1319: LUCENE-9164: process all events before closing gracefully URL: https://github.com/apache/lucene-solr/pull/1319#issuecomment-596242053 > I wonder/wish if we could simply use synchronized methods instead of a Semaphore with Integer.MAX_VALUE permits, but I guess we want to allow multiple threads to process events concurrently, and to allow adding new events while events are being processed, etc. this is indeed the reason
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org