From: David ‘Bombe’ Roden Date: Wed, 26 Aug 2015 12:40:05 +0000 (+0200) Subject: Only use a single thread for requests X-Git-Tag: v2~165 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=629c319db67a4ecae7ef345aeed4f80edd8c4e1d;p=rhynodge.git Only use a single thread for requests --- diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/Engine.java b/src/main/java/net/pterodactylus/rhynodge/engine/Engine.java index 079350b..8ff7020 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/Engine.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/Engine.java @@ -52,7 +52,7 @@ public class Engine { public Engine(StateManager stateManager, EmailAction errorEmailAction) { this.stateManager = stateManager; this.errorEmailAction = errorEmailAction; - executorService = new ScheduledThreadPoolExecutor(10); + executorService = new ScheduledThreadPoolExecutor(1); } //