Skip to content

Commit

Permalink
Fix small wording issue in netty.md (#3619)
Browse files Browse the repository at this point in the history
  • Loading branch information
cptwunderlich committed Mar 16, 2024
1 parent 7db23f9 commit 2809a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/server/netty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2809a0f

Please sign in to comment.