Skip to content

Commit

Permalink
revert example
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Jan 26, 2022
1 parent 94e6884 commit 0e59516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ lazy val zhttpTest = (project in file("zio-http-test"))
lazy val example = (project in file("./example"))
.settings(stdSettings("example"))
.settings(publishSetting(false))
.settings(runSettings("example.FileStreaming"))
.settings(runSettings("example.Main"))
.settings(libraryDependencies ++= Seq(`jwt-core`))
.dependsOn(zhttp)
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object Main extends App {
.exitCode
}

private def app(response: Response) = Http.responseZIO(UIO(response))
private def app(response: Response) = Http.response(response)

private def server(response: Response) =
Server.app(app(response)) ++
Expand Down

4 comments on commit 0e59516

@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: 909620.91

@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: 944186.80

@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: 928322.66

@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: 923866.03

Please sign in to comment.