开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜