Skip to content

Commit

Permalink
Update StandardMetadataServiceURLBuilder.java (#12684)
Browse files Browse the repository at this point in the history
修复SIDE_KEY设置被覆盖问题
  • Loading branch information
xm101 authored Jul 29, 2023
1 parent c45ce19 commit 9ee5bf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private URL generateWithMetadata(String serviceName, String host, Map<String, St
.setProtocol(protocol)
.setPath(MetadataService.class.getName())
.addParameter(TIMEOUT_KEY, ConfigurationUtils.get(applicationModel, METADATA_PROXY_TIMEOUT_KEY, DEFAULT_METADATA_TIMEOUT_VALUE))
.addParameter(SIDE_KEY, CONSUMER)
.addParameter(CONNECTIONS_KEY, 1)
.addParameter(THREADPOOL_KEY, "cached")
.addParameter(THREADS_KEY, "100")
Expand All @@ -119,6 +118,7 @@ private URL generateWithMetadata(String serviceName, String host, Map<String, St

// add the default parameters
urlBuilder.addParameter(GROUP_KEY, serviceName);
urlBuilder.addParameter(SIDE_KEY, CONSUMER);
return urlBuilder.build();
}

Expand Down

0 comments on commit 9ee5bf6

Please sign in to comment.