Hi!
I have a rails action controller method which takes long time to
complete.
After about 4-5 minutes running, I get a “execution expired” error which
stops this method’s execution.
I looked and looked, searched and searched, but could not find how to
configure my ActionController’s timeout to be greater than the default.
Could anyone help?
On 12/27/05, Guy T. [email protected] wrote:
Hi!
I have a rails action controller method which takes long time to
complete.
After about 4-5 minutes running, I get a “execution expired” error which
stops this method’s execution.
I looked and looked, searched and searched, but could not find how to
configure my ActionController’s timeout to be greater than the default.
Could anyone help?
There was just a question on Rails Weenie regarding this:
http://rails.techno-weenie.net/question/2005/12/24/how_do_you_display_the_progress_of_a_long_running_action
mad robby even gives some example code for this.
–
rick
http://techno-weenie.net
The link you specified does not relate to the same problem.
AM I missing something here?
will setting a session variable now and again prevent the execution
timeout?
Guy
Rick O. wrote:
On 12/27/05, Guy T. [email protected] wrote:
Hi!
I have a rails action controller method which takes long time to
complete.
After about 4-5 minutes running, I get a “execution expired” error which
stops this method’s execution.
I looked and looked, searched and searched, but could not find how to
configure my ActionController’s timeout to be greater than the default.
Could anyone help?
There was just a question on Rails Weenie regarding this:
http://rails.techno-weenie.net/question/2005/12/24/how_do_you_display_the_progress_of_a_long_running_action
mad robby even gives some example code for this.
–
rick
http://techno-weenie.net
On 12/28/05, guy tavor [email protected] wrote:
The link you specified does not relate to the same problem.
AM I missing something here?
will setting a session variable now and again prevent the execution
timeout?
I was just suggesting you offload the task to an external process and
only report the status in the web app. But do what you like…
–
rick
http://techno-weenie.net