Skip to content

Commit

Permalink
Optimize jetcd initialization invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
wlx5575 committed Aug 11, 2023
1 parent 2dd4c3c commit 1648366
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ private Etcd2TopoServer newServerWithOpts(String serverAddr, String root, String
.keepaliveTimeout(Duration.ofSeconds(10L))
.keepaliveTime(Duration.ofSeconds(10L))
.keepaliveWithoutCalls(true)
.connectTimeout(Duration.ofSeconds(5))
.waitForReady(false)
.executorService(TabletNettyExecutorService.getNettyExecutorService()).build();

Etcd2TopoServer etcd2TopoServer = new Etcd2TopoServer();
Expand Down

0 comments on commit 1648366

Please sign in to comment.