Skip to content

Commit

Permalink
fixed: #17
Browse files Browse the repository at this point in the history
Signed-off-by: AnJia <[email protected]>
  • Loading branch information
anjia0532 committed Nov 8, 2023
1 parent 2268112 commit 759d62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/resources/templates/ServiceWorker.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class [[${ServiceName}]]ServiceWorker extends Worker {
this.unidbgProperties = unidbgProperties;
this.[(${#strings.toLowerCase(#strings.substring(ServiceName,0,1))})][(${#strings.substring(ServiceName,1)})]Service = new [[${ServiceName}]]Service(unidbgProperties);
pool = WorkerPoolFactory.create((pool) ->
new MeiTuanServiceWorker(unidbgProperties.isDynarmic(), unidbgProperties.isVerbose(),pool),
new [[${ServiceName}]]ServiceWorker(unidbgProperties.isDynarmic(), unidbgProperties.isVerbose(),pool),
Math.max(poolSize, 4));
log.info("线程池为:{}", Math.max(poolSize, 4));
}
Expand Down

0 comments on commit 759d62b

Please sign in to comment.