0

执行严格的方法来分析 rails 中的文本。问题是,当用户在服务器上加载一个文本文件正在处理它(有一个搜索关键字排名计算每个单词和许多其他的)作为结果时,服务器处理文本时,它甚至不能向朋友用户显示页面并且是 505 Gateway Time Out Error。

4

1 回答 1

1

A gateway timeout error means that your application is taking too long to return a result, and the gateway/proxy which routes the connection to your application has given up. Either increase the timeout on your gateway, or (much better in the long term) consider moving your processor-intensive task to a background thread/process.

于 2012-12-01T12:54:07.173 回答