ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)

后端 未结 3 1297
日久生厌
日久生厌 2020-12-30 23:48

I have a rails app in production that i deployed some changes to the other day. All of a sudden now I get the error ActiveRecord::ConnectionTimeoutError: could not obt

3条回答
  •  春和景丽
    2020-12-31 00:22

    Ultimately this issue still plagued me for another year or so. I finally got a good solution from working with the puma guys.

    Upgrade your puma to at least 2.15.x.

提交回复
热议问题