mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
reduce bg threads cause not needed
This commit is contained in:
parent
63edb25c7b
commit
90d4453cce
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue