T
Tony Targonski
In my Rails application, I have this one function that reads a list of
webpages and parses their contents. It takes about a minutes to
complete.
My FastCGI times out at 30 seconds and stops the application
[error] [client 10.4.114.211] FastCGI: comm with (dynamic) server
"C:/crawler/public/dispatch.fcgi" aborted: (first read) idle timeout (30
sec), referer: http://tor105850/trackers/
Though the function goes on to finish updating the database.
So my question is -- how would I set up my Rails controller to function
in the following manner
Render 'updating, please wait'
Function()
Render 'done'
Without having FastCGI time out on me?
Thank you,
--Tony
webpages and parses their contents. It takes about a minutes to
complete.
My FastCGI times out at 30 seconds and stops the application
[error] [client 10.4.114.211] FastCGI: comm with (dynamic) server
"C:/crawler/public/dispatch.fcgi" aborted: (first read) idle timeout (30
sec), referer: http://tor105850/trackers/
Though the function goes on to finish updating the database.
So my question is -- how would I set up my Rails controller to function
in the following manner
Render 'updating, please wait'
Function()
Render 'done'
Without having FastCGI time out on me?
Thank you,
--Tony