[erlang-questions] Cowboy handler: wait for slow backend
Tue Mar 21 19:22:15 CET 2017
I’m facing a little strange issue with Cowboy (latest from GitHub).
My backend (a DB) takes couple of seconds before returning a result.
The problem is that my Cowboy’ handler seems to close the connexion with
the client before my backend returns. Or wait forever!!!
Is there a way to tell Cowboy to wait let say 30sec before closing the
connexion with the client ???
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions