开发者

Controller waiting for response and then the application fails Ruby on rails

开发者 https://www.devze.com 2023-01-11 09:35 出处:网络
My Controller waits for a response from a lib folder rubyfile which it is calling. lib.rb runs for about 4 m开发者_JAVA百科inutes and returns a string as result.

My Controller waits for a response from a lib folder ruby file which it is calling.

lib.rb runs for about 4 m开发者_JAVA百科inutes and returns a string as result.

The controller waits for the string response and then application breaks after a minute showing Internal Server Error

what should i Do?

Regards


Can you describe in more detail what this "lib" is doing? If it is intended to take a long time you will have to adjust your server settings so it is not prematurely timed out.

For example, Apache will produce a server error if it does not receive a response from your application in a timely manner. This time can be adjusted within certain parameters.

0

精彩评论

暂无评论...
验证码 换一张
取 消