Nitrous.IO预览Rails应用程序需要很长时间才能加载

时间:2013-09-15 15:43:13

标签: ruby-on-rails ruby rails-postgresql pg nitrousio

我已将现有的Rails应用程序克隆到Nitrous中,并将数据库导入到Heroku postgres开发数据库中。但是,在尝试使用Nitrous预览应用程序时,加载时间太长。终端显示以下内容(此处为样本):

Sector Load (252.2ms)  SELECT "sectors".* FROM "sectors" INNER JOIN "organizations_sectors" ON "sectors"."id" = "organizations_sectors"."sector_id" WHERE "organizations
_sectors"."organization_id" = 169 ORDER BY LOWER(name) ASC                                                                                                                
  Technology Load (255.5ms)  SELECT "technologies".* FROM "technologies" INNER JOIN "organizations_technologies" ON "technologies"."id" = "organizations_technologies"."te
chnology_id" WHERE "organizations_technologies"."organization_id" = 169 ORDER BY LOWER(name) ASC                                                                          
  GeographicalArea Load (251.7ms)  SELECT "geographical_areas".* FROM "geographical_areas" INNER JOIN "geographical_areas_organizations" ON "geographical_areas"."id" = "g
eographical_areas_organizations"."geographical_area_id" WHERE "geographical_areas_organizations"."organization_id" = 169 ORDER BY LOWER(name) ASC                         
  Rendered main/_organizations.json.jbuilder (183616.1ms)                                                                                                                 
  Rendered main/index.html.erb within layouts/application (183654.5ms)                                                                                                    
Completed 200 OK in 185736ms (Views: 1080.4ms | ActiveRecord: 184636.1ms)  

我无法弄清楚出了什么问题。

0 个答案:

没有答案