From 522990fabbb4a984906ab7f4b5e40d743b0a0fbc Mon Sep 17 00:00:00 2001 From: Benjamin M Date: Sat, 16 Mar 2024 21:50:01 +0100 Subject: [PATCH] Fix small wording issue in netty.md Fixed "should can" and missing article. --- doc/server/netty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/server/netty.md b/doc/server/netty.md index 612ff6a6a5..3fd9cec741 100644 --- a/doc/server/netty.md +++ b/doc/server/netty.md @@ -85,7 +85,7 @@ NettyFutureServer(NettyConfig.default.socketBacklog(256)) ## Graceful shutdown -A Netty should can be gracefully closed using function `NettyFutureServerBinding.stop()` (and analogous functions available in Cats and ZIO bindings). This function ensures that the server will wait at most 10 seconds for in-flight requests to complete, while rejecting all new requests with 503 during this period. Afterwards, it closes all server resources. +A Netty server can be gracefully closed using the function `NettyFutureServerBinding.stop()` (and analogous functions available in Cats and ZIO bindings). This function ensures that the server will wait at most 10 seconds for in-flight requests to complete, while rejecting all new requests with 503 during this period. Afterwards, it closes all server resources. You can customize this behavior in `NettyConfig`: ```scala mdoc:compile-only