Browse Source

bump to reactor-netty 0.6.1

pull/41/head
Spencer Gibb 8 years ago
parent
commit
ed4435018c
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 6
      pom.xml
  2. 2
      src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java

6
pom.xml

@ -35,6 +35,12 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId> <artifactId>spring-boot-starter-webflux</artifactId>
</dependency> </dependency>
<!-- TODO: this should eventually be removed -->
<dependency>
<groupId>io.projectreactor.ipc</groupId>
<artifactId>reactor-netty</artifactId>
<version>0.6.1.BUILD-SNAPSHOT</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot.experimental</groupId> <groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-starter-web-reactive</artifactId> <artifactId>spring-boot-starter-web-reactive</artifactId>

2
src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java

@ -68,7 +68,7 @@ public class GatewayAutoConfiguration {
public HttpClient httpClient() { public HttpClient httpClient() {
return HttpClient.create(opts -> { return HttpClient.create(opts -> {
//opts.poolResources(PoolResources.elastic("proxy")); //opts.poolResources(PoolResources.elastic("proxy"));
opts.disablePool(); //TODO: why do I need this again? //opts.disablePool(); //TODO: why do I need this again?
}); });
} }

Loading…
Cancel
Save