From 629c319db67a4ecae7ef345aeed4f80edd8c4e1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 26 Aug 2015 14:40:05 +0200 Subject: [PATCH] Only use a single thread for requests --- src/main/java/net/pterodactylus/rhynodge/engine/Engine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } // -- 2.7.4