Skip to content

Commit

Permalink
Bump grpc-bom from 1.22.1 to 1.23.0 (#171)
Browse files Browse the repository at this point in the history
* Bump grpc-bom from 1.22.1 to 1.23.0

Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](grpc/grpc-java@v1.22.1...v1.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Remove `workerEventLoopGroup` override
  • Loading branch information
dependabot-preview[bot] authored and bsideup committed Aug 24, 2019
1 parent 4b642e2 commit 22efb70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ configure(subprojects.findAll { !it.name.startsWith("examples/") }) {
mavenBom 'org.junit:junit-bom:5.5.1'
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
mavenBom 'org.testcontainers:testcontainers-bom:1.12.0'
mavenBom 'io.grpc:grpc-bom:1.22.1'
mavenBom 'io.grpc:grpc-bom:1.23.0'
mavenBom 'com.google.protobuf:protobuf-bom:3.9.1'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
import io.grpc.*;
import io.grpc.netty.NettyServerBuilder;
import io.grpc.protobuf.services.ProtoReflectionService;
import io.netty.channel.nio.NioEventLoopGroup;
import lombok.Data;
import org.hibernate.validator.group.GroupSequenceProvider;
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.support.GenericApplicationContext;
import org.springframework.core.env.Profiles;
import reactor.core.scheduler.Schedulers;

import javax.validation.constraints.Min;
import java.util.ArrayList;
Expand Down Expand Up @@ -45,7 +43,6 @@ public void initialize(GenericApplicationContext applicationContext) {
() -> {
var serverBuilder = NettyServerBuilder
.forPort(serverProperties.getPort())
.workerEventLoopGroup(new NioEventLoopGroup(Schedulers.DEFAULT_POOL_SIZE))
.permitKeepAliveTime(150, TimeUnit.SECONDS)
.permitKeepAliveWithoutCalls(true)
.directExecutor()
Expand Down

0 comments on commit 22efb70

Please sign in to comment.