I have a sinatra app which has a get route. It does quite a bit of work and hence takes about a minute to finish the task. When I try to curl it everything works fine but I don't get the response code back or anything for that matter. curl times out and if I try it on the browser it times out as well. And also both time out in 30 sec.
I have been trying to find a way to increase the server timeout. Any leads?