Skip to content

Commit

Permalink
fix: expection due to string type become list
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Sep 27, 2024
1 parent 91b404c commit 51df676
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,17 @@ private void loadGraph(String name, String graphConfPath) {
}

private void transferRoleWorkerConfig(HugeConfig config) {
config.addProperty(RoleElectionOptions.NODE_EXTERNAL_URL.name(),
config.setProperty(RoleElectionOptions.NODE_EXTERNAL_URL.name(),
this.conf.get(ServerOptions.REST_SERVER_URL));
config.addProperty(RoleElectionOptions.BASE_TIMEOUT_MILLISECOND.name(),
config.setProperty(RoleElectionOptions.BASE_TIMEOUT_MILLISECOND.name(),
this.conf.get(RoleElectionOptions.BASE_TIMEOUT_MILLISECOND));
config.addProperty(RoleElectionOptions.EXCEEDS_FAIL_COUNT.name(),
config.setProperty(RoleElectionOptions.EXCEEDS_FAIL_COUNT.name(),
this.conf.get(RoleElectionOptions.EXCEEDS_FAIL_COUNT));
config.addProperty(RoleElectionOptions.RANDOM_TIMEOUT_MILLISECOND.name(),
config.setProperty(RoleElectionOptions.RANDOM_TIMEOUT_MILLISECOND.name(),
this.conf.get(RoleElectionOptions.RANDOM_TIMEOUT_MILLISECOND));
config.addProperty(RoleElectionOptions.HEARTBEAT_INTERVAL_SECOND.name(),
config.setProperty(RoleElectionOptions.HEARTBEAT_INTERVAL_SECOND.name(),
this.conf.get(RoleElectionOptions.HEARTBEAT_INTERVAL_SECOND));
config.addProperty(RoleElectionOptions.MASTER_DEAD_TIMES.name(),
config.setProperty(RoleElectionOptions.MASTER_DEAD_TIMES.name(),
this.conf.get(RoleElectionOptions.MASTER_DEAD_TIMES));
}

Expand Down

0 comments on commit 51df676

Please sign in to comment.