Skip to content

Commit

Permalink
Try to increase graceful shutdown timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed May 29, 2024
1 parent a61c25e commit 693b93f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ internal class DefaultGrpcRouterTest {

private fun ExecutorService.shutdownGracefully() {
shutdown()
if (!awaitTermination(1, TimeUnit.SECONDS)) {
if (!awaitTermination(30, TimeUnit.SECONDS)) {
shutdownNow()
error("'Executor' can't be stopped")
}
Expand Down

0 comments on commit 693b93f

Please sign in to comment.