Browse Source

Update hello.ex (#2901)

José Valim 8 years ago
parent
commit
10b1888667
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Elixir/cowboy/lib/hello.ex

+ 1 - 1
frameworks/Elixir/cowboy/lib/hello.ex

@@ -7,7 +7,7 @@ defmodule Hello do
     {:ok, _} = :cowboy.start_http(:http,
                                   5000,
                                   [port: 8080],
-                                  [env: [dispatch: dispatch]])
+                                  [env: [dispatch: dispatch], max_keepalive: 5_000_000])
   end
 end