Skip to content

Commit

Permalink
chore: disable sofa-rpc server by default
Browse files Browse the repository at this point in the history
  • Loading branch information
imbajin committed Oct 23, 2024
1 parent fc842bf commit f83caed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hugegraph-server/hugegraph-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<!-- Keep consistent with grpc dependency version (pd/store) -->
<!-- <version>1.47.0</version>-->
<version>1.39.0</version>
<!-- <version>1.39.0</version>-->
<version>1.47.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public final class GraphManager {
private final RpcClientProvider rpcClient;

private RoleElectionStateMachine roleStateMachine;
private GlobalMasterInfo globalNodeRoleInfo;
private final GlobalMasterInfo globalNodeRoleInfo;

private final HugeConfig conf;
private final EventHub eventHub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ arthas.disabled_commands=jad
#auth.admin_token=
#auth.user_tokens=[]

# TODO: Deprecated & removed later (useless from version 1.5.0)
# rpc server configs for multi graph-servers or raft-servers
rpc.server_host=127.0.0.1
rpc.server_port=8091
#rpc.server_host=127.0.0.1
#rpc.server_port=8091
#rpc.server_timeout=30

# rpc client configs (like enable to keep cache consistency)
Expand Down

0 comments on commit f83caed

Please sign in to comment.