Heroku “psql: FATAL: remaining connection slots are reserved for non-replication superuser connections”

前端 未结 4 1604
故里飘歌
故里飘歌 2020-11-29 21:10

I\'m developing an app on Heroku with a Postgresql backend. Periodically, I get this error message when trying to access the database, both from the CLI and from loading a p

4条回答
  •  日久生厌
    2020-11-29 21:57

    You either need to increase the max_connections configuration setting or (probably better) use connection pooling to route a large number of user requests through a smaller connection pool.

    https://wiki.postgresql.org/wiki/Number_Of_Database_Connections

提交回复
热议问题