Skip to content

Commit 610e15c

Browse files
committed
feat: optimize the thread pool size
1 parent 6d354b1 commit 610e15c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

trpc-core/src/test/java/com/tencent/trpc/core/common/config/BackendConfigTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ public void testIp() {
239239
public void test() {
240240
ExtensionLoader
241241
.registerPlugin(new PluginConfig("attalog", Filter.class, RemoteLoggerTest.class));
242-
ExtensionLoader.registerPlugin(ThreadWorkerPool.newThreadWorkerPoolConfig("thread", 10,10, Boolean.FALSE));
242+
ExtensionLoader.registerPlugin(ThreadWorkerPool.newThreadWorkerPoolConfig("thread", 10,
243+
10, Boolean.FALSE));
243244
BackendConfig config = new BackendConfig();
244245
config.setCallee("trpc.calleeapp.calleeserver.calleeservice.calleemethod");
245246
config.setNamingUrl("ip://127.0.0.1:8888");

0 commit comments

Comments
 (0)