我有一个rails应用程序的heroku用户登录.我定期得到这个例外:
UserSessionsController#
(ActiveRecord::StatementInvalid)
“PGError: FATAL: terminating
connection due to administrator
command\nserver closed the connection
unexpectedly\n\tThis probably means
the server terminated
abnormally\n\tbef…
网址
POST http://secure.huckberry.com/user_sessions
这可能是什么原因?我会感谢任何帮助.
解决方法
假设您最近看到这一点,这是由于最近一些高优先级的维护工作,以便在共享数据库上启用持续备份 – 涉及重新启动服务器.你不应该担心这个错误,只要它不会重现.我不认为这很可能,黑客很开心!