DBConnection disconnect with 2.1.0-rcX
Description
[Description of the issue]
Steps to Reproduce
- create new identity / profil
- [Second Step]
- [and so on...]
Expected behaviour:
[What you expect to happen]
Actual behaviour:
Nothing happen
Reproduces how often:
always
Versions
[What Mobilizon instance you're using, and the versions of each relevant app or component, including your OS and browser.]
Additional Information
after rollback of https://framagit.org/framasoft/mobilizon/-/blob/b1205b69120b1fbd75cb802bc9694ec24cef68d0/priv/repo/migrations/20211223141104_add_instance_materialized_view.exs it works fine (and downgrade to 2.0.2)
Logs:
May 04 23:28:31 vela-mobilizon mix[11695]: 23:28:31.738 [error] Postgrex.Protocol (#PID<0.753.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.2631.0> timed out because it queued and checked out the connection for longer than 15000ms
May 04 23:28:31 vela-mobilizon mix[11695]: #PID<0.2631.0> was at location:
May 04 23:28:31 vela-mobilizon mix[11695]: :prim_inet.recv0/3
May 04 23:28:31 vela-mobilizon mix[11695]: (postgrex 0.15.13) lib/postgrex/protocol.ex:2996: Postgrex.Protocol.msg_recv/4
May 04 23:28:31 vela-mobilizon mix[11695]: (postgrex 0.15.13) lib/postgrex/protocol.ex:2042: Postgrex.Protocol.recv_bind/3
May 04 23:28:31 vela-mobilizon mix[11695]: (postgrex 0.15.13) lib/postgrex/protocol.ex:1934: Postgrex.Protocol.bind_execute/4
May 04 23:28:31 vela-mobilizon mix[11695]: (db_connection 2.4.1) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4
May 04 23:28:31 vela-mobilizon mix[11695]: (db_connection 2.4.1) lib/db_connection.ex:1333: DBConnection.run_execute/5
May 04 23:28:31 vela-mobilizon mix[11695]: (db_connection 2.4.1) lib/db_connection.ex:1428: DBConnection.run/6
May 04 23:28:31 vela-mobilizon mix[11695]: (db_connection 2.4.1) lib/db_connection.ex:593: DBConnection.parsed_prepare_execute/5
May 04 23:28:31 vela-mobilizon mix[11695]: 23:28:31.742 [error] #PID<0.2631.0> running Mobilizon.Web.Endpoint (connection #PID<0.2630.0>, stream id 1) terminated