diff --git a/remora-core/src/main/java/com/jkoolcloud/remora/core/utils/RemoraLoggingProvider.java b/remora-core/src/main/java/com/jkoolcloud/remora/core/utils/RemoraLoggingProvider.java index 60669c4..b44d299 100644 --- a/remora-core/src/main/java/com/jkoolcloud/remora/core/utils/RemoraLoggingProvider.java +++ b/remora-core/src/main/java/com/jkoolcloud/remora/core/utils/RemoraLoggingProvider.java @@ -37,7 +37,7 @@ public class RemoraLoggingProvider implements LoggingProvider { private static Semaphore semaphore = new Semaphore(-1); private static ArrayList instances = new ArrayList<>(); private final static ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 0, TimeUnit.MILLISECONDS, - new ArrayBlockingQueue(1000) { + new ArrayBlockingQueue(5000) { @Override public Runnable take() throws InterruptedException { semaphore.acquire(); @@ -49,11 +49,6 @@ public RemoraLoggingProvider() { instances.add(this); } - public void reload() throws InterruptedException, ReflectiveOperationException { - realProvider.shutdown(); - realProvider = new TinylogLoggingProvider(); - } - @Override public ContextProvider getContextProvider() { return realProvider.getContextProvider();