Skip to content

Commit 61b08f9

Browse files
committed
scalafmt
1 parent 981cae0 commit 61b08f9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

server/src/main/scala/org/http4s/netty/server/NettyServerBuilder.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,13 @@ final class NettyServerBuilder[F[_]] private (
114114
EventLoopHolder[IOUringServerSocketChannel](
115115
new IOUringEventLoopGroup(1),
116116
new IOUringEventLoopGroup(eventLoopThreads))
117-
} else
118-
if (Epoll.isAvailable) {
117+
} else if (Epoll.isAvailable) {
119118
logger.info("Using Epoll")
120119
val acceptorEventLoopGroup = new EpollEventLoopGroup(1)
121120
acceptorEventLoopGroup.setIoRatio(100)
122121
val workerEventLoopGroup = new EpollEventLoopGroup(eventLoopThreads)
123122
workerEventLoopGroup.setIoRatio(80)
124-
EventLoopHolder[EpollServerSocketChannel](
125-
acceptorEventLoopGroup,
126-
workerEventLoopGroup)
123+
EventLoopHolder[EpollServerSocketChannel](acceptorEventLoopGroup, workerEventLoopGroup)
127124
} else if (KQueue.isAvailable) {
128125
logger.info("Using KQueue")
129126
EventLoopHolder[KQueueServerSocketChannel](

0 commit comments

Comments
 (0)