Commit 4dcd9577 authored by Mathieu leclaire's avatar Mathieu leclaire

Infinite timeout for the server

parent af2c28fd
...@@ -24,7 +24,7 @@ class MyScalatraServlet extends ServertestStack { ...@@ -24,7 +24,7 @@ class MyScalatraServlet extends ServertestStack {
Await.result(autowire.Macros.route[Web](Server)( Await.result(autowire.Macros.route[Web](Server)(
autowire.Request(Seq(basePath) ++ multiParams("splat").head.split("/"), autowire.Request(Seq(basePath) ++ multiParams("splat").head.split("/"),
upickle.read[Map[String, String]](request.body)) upickle.read[Map[String, String]](request.body))
),100.seconds) ),Duration.Inf)
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment