-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When I put something like this in a controller action:
run_later do
logger.info "before run_later sleep"
sleep 10
logger.info "finished run_later"
end
then the request takes 10s until it returns anything. The output in the log all appears at once at the end of the request.
I would have expected the controller to render immediately and see the message "finished" after approx. 10 seconds appear in the log.
I'm on ruby 1.8.7 on linux, tried both rails 2.3.3 and a blank project with rails 2.3.4, tried it both in development and production mode and with webrick and mongrel, the request was always blocked. Hm, not sure if I really tried all 8 possible combinations, but at least in 2.3.3 on production with both webservers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels