Skip to content

Commit

Permalink
Fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkokar committed Aug 3, 2018
1 parent 87ddc44 commit e745f28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface BackendServiceMixin {
Set<Origin> origins();

@JsonProperty("connectionPool")
ConnectionPoolSettings connectionPoolConfig();
ConnectionPoolSettings connectionPoolSettings();

@JsonProperty("healthCheck")
HealthCheckConfig healthCheckConfig();
Expand Down Expand Up @@ -90,7 +90,7 @@ interface Builder {
BackendService.Builder rewrites(List<RewriteConfig> rewriteConfigs);

@JsonProperty("connectionPool")
BackendService.Builder connectionPoolConfig(ConnectionPoolSettings connectionPoolSettings);
BackendService.Builder connectionPoolSettings(ConnectionPoolSettings connectionPoolSettings);

@JsonProperty("stickySession")
BackendService.Builder stickySessionConfig(StickySessionConfig stickySessionConfig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class FileBackedBackendServicesRegistrySpec extends FunSpec with Eventually {
val backendServiceOne = new BackendService.Builder()
.id("webapp")
.origins(origin("webapp", "webapp-02", "localhost", 9091), origin("webapp", "webapp-01", "localhost", 9090))
.connectionPoolConfig(new ConnectionPoolSettings.Builder()
.connectionPoolSettings(new ConnectionPoolSettings.Builder()
.connectTimeout(8000, MILLISECONDS)
.maxConnectionsPerHost(300)
.maxPendingConnectionsPerHost(50)
Expand Down

0 comments on commit e745f28

Please sign in to comment.