summaryrefslogtreecommitdiff
path: root/script/service/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/service/service.lua')
-rw-r--r--script/service/service.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/service/service.lua b/script/service/service.lua
index 7e0c48c3..e15dfbd1 100644
--- a/script/service/service.lua
+++ b/script/service/service.lua
@@ -260,7 +260,10 @@ end
function m.start()
util.enableCloseFunction()
await.setErrorHandle(log.error)
- pub.recruitBraves(4 + (COMPILECORES or 0))
+ pub.recruitBraves(4)
+ if COMPILECORES and COMPILECORES > 0 then
+ pub.recruitBraves(COMPILECORES, 'compile')
+ end
proto.listen()
m.report()
m.testVersion()