Skip to content

GrpcServerConfigurer 和 GrpcServerProperties 中的 keepAliveTime 有什么区别? #1122

Answered by ST-DDT
Ador-able asked this question in Q&A
Discussion options

You must be logged in to vote

The main difference is the order they are applied:

protected void configure(final T builder) {
configureServices(builder);
configureKeepAlive(builder);
configureConnectionLimits(builder);
configureSecurity(builder);
configureLimits(builder);
for (final GrpcServerConfigurer serverConfigurer : this.serverConfigurers) {
serverConfigurer.accept(builder);
}
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ST-DDT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants