diff --git a/src/Http.hx b/src/Http.hx index 0247aa98..198f0c5a 100644 --- a/src/Http.hx +++ b/src/Http.hx @@ -23,9 +23,7 @@ class Http { public static function init() { #if sys - threadPool = new sys.thread.FixedThreadPool(4); - threadPool.run(() -> threadLoop()); - threadPool.run(() -> threadLoop()); + threadPool = new sys.thread.FixedThreadPool(2); threadPool.run(() -> threadLoop()); threadPool.run(() -> threadLoop()); #end