mperham / rack-fiber_pool

Rack middleware to execute each request in a Fiber
MIT License
244 stars 24 forks source link

server timeout changes when using fiber pool #18

Closed bmidgley closed 12 years ago

bmidgley commented 12 years ago

Using sinatra/thin. We have a couple of long-running server actions, but after installing the fiber pool, anything that takes more than 30s results in the client being disconnected and given an empty response.

Where do I look to see where that 30s might be set? Why would a rack change cause that?

JoshMcKin commented 12 years ago

Pretty sure fiber_pool does not set a timeout. Its probably thin.

bmidgley commented 12 years ago

Right, it was in thin. I think the reason it didn't stop before is our long running action was blocking everything else including the timeout.