Skip to content

Commit

Permalink
The default connection pool is switched to 'elastic' by default
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Aug 31, 2017
1 parent 092efff commit e97084d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/reactor/ipc/netty/tcp/TcpResources.java
Expand Up @@ -255,7 +255,7 @@ static <T extends TcpResources> T create(T previous,
BiFunction<LoopResources, PoolResources, T> onNew) {
if (previous == null) {
loops = loops == null ? LoopResources.create("reactor-" + name) : loops;
pools = pools == null ? PoolResources.fixed(name) : pools;
pools = pools == null ? PoolResources.elastic(name) : pools;
}
else {
loops = loops == null ? previous.defaultLoops : loops;
Expand Down

0 comments on commit e97084d

Please sign in to comment.