elixir-plug / plug_cowboy

Plug adapter for the Cowboy web server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idle Timeout should be more obvious

isaacsanders opened this issue · comments

I don't know if this library is the place to implement this, but shutdowns due to idle_timeout need to be made more obvious. I just lost over an hour of my time understanding that my application was silently failing because of this.

ninenines/cowboy#1385

Feel free to send a PR for clarification but overall I agree with Cowboy’s author. Pretty much everything in your stack (proxies, load balancer, etc) have idle timeouts and disconnecting when those happen is normal procedure. Thanks!