Github user clebertsuconic commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1144#discussion_r108526825 --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/utils/ActiveMQThreadPoolExecutor.java --- @@ -46,32 +45,70 @@ private static class ThreadPoolQueue extends LinkedBlockingQueue<Runnable> { private ActiveMQThreadPoolExecutor executor = null; + private int idleThreads = 0; public void setExecutor(ActiveMQThreadPoolExecutor executor) { this.executor = executor; } @Override - public boolean offer(Runnable runnable) { + public synchronized boolean offer(Runnable runnable) { --- End diff -- @franz1981 I feel like you're the man to look into this... can you look into this one?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---