reduce bg threads cause not needed

This commit is contained in:
RandomityGuy 2024-05-25 00:05:27 +05:30
parent 63edb25c7b
commit 90d4453cce

View file

@ -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