mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-12-27 10:26:40 +00:00
reduce bg threads cause not needed
This commit is contained in:
parent
6879a41926
commit
89bbbe777a
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