Skip to content

Commit

Permalink
use default runtime strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Feb 9, 2022
1 parent f3bb049 commit 92a8c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zhttp/service/Server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ object Server {
for {
channelFactory <- ZManaged.service[ServerChannelFactory]
eventLoopGroup <- ZManaged.service[EventLoopGroup]
zExec <- HttpRuntime.sticky[R](eventLoopGroup).toManaged
zExec <- HttpRuntime.default[R].toManaged
reqHandler = settings.app.compile(zExec, settings)
respHandler = ServerResponseHandler(zExec, settings, ServerTimeGenerator.make)
init = ServerChannelInitializer(zExec, settings, reqHandler, respHandler)
Expand Down

1 comment on commit 92a8c3b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Performance Benchmark:

Concurrency: 256
Requests/sec: 914348.19

Please sign in to comment.