Skip to content

Commit

Permalink
Increase the timeout when fetch instance list
Browse files Browse the repository at this point in the history
  • Loading branch information
1996fanrui committed Mar 27, 2024
1 parent 3595d15 commit aae6152
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public static FMClient getInstance() {
// FMClient newClient = new FMClient(GlobalConfiguration.getGlobalConfiguration());
final Configuration conf = new Configuration();
conf.setString("flink-common.fm.address", "https://flink.idata.shopeemobile.com");
conf.setString("flink-common.fm.connection-timeout", "40s");

FMClient newClient = new FMClient(conf);
if (INSTANCE_HOLDER.compareAndSet(null, newClient)) {
return newClient;
Expand Down

0 comments on commit aae6152

Please sign in to comment.