Skip to content

Commit

Permalink
Disable flow Control (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
d11-amitsingh authored Feb 1, 2022
1 parent aec7382 commit 21cdee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ object Main extends App {
Server.error(_ => UIO.unit) ++
Server.keepAlive ++
Server.disableLeakDetection ++
Server.consolidateFlush
Server.consolidateFlush ++
Server.disableFlowControl

}
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 @@ -129,7 +129,7 @@ object Server {
acceptContinue: Boolean = false,
keepAlive: Boolean = false,
consolidateFlush: Boolean = false,
flowControl: Boolean = false,
flowControl: Boolean = true,
)

/**
Expand Down

0 comments on commit 21cdee6

Please sign in to comment.