ActiveRecord::StatementInvalid (PG::ConnectionBad: PQconsumeInput() FATAL: terminating connection due to idle-in-transaction timeout
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
):
activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in exec' activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in
block (2 levels) in execute'
activesupport (7.0.8.1) lib/active_support/concurrency/share_lock.rb:187:in yield_shares' activesupport (7.0.8.1) lib/active_support/dependencies/interlock.rb:41:in
permit_concurrent_loads'
activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in block in execute' activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt'
activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt'
activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract_adapter.rb:752:in
block in log'
activesupport (7.0.8.1) lib/active_support/notifications/instrumenter.rb:24:in instrument' activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract_adapter.rb:743:in
log'
activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in execute' marginalia (1.11.1) lib/marginalia.rb:71:in
execute_with_marginalia'
activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:121:in exec_rollback_db_transaction' activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/database_statements.rb:374:in
rollback_db_transaction'
activerecord (7.0.8.1)