When responding to a request, is it possible to send the response and then continue processing?
Or do you need to run a background process? What is the simplest solution?
Sinatra app on Heroku, Ruby 1.9.3.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can have another thread running, see for example:
http://mark-watson.blogspot.com/2011/11/ruby-sinatra-web-apps-with-background.html