Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROM-SQL Connection remains on development #115

Open
alex-lairan opened this issue Jan 15, 2021 · 0 comments
Open

ROM-SQL Connection remains on development #115

alex-lairan opened this issue Jan 15, 2021 · 0 comments
Labels

Comments

@alex-lairan
Copy link
Contributor

alex-lairan commented Jan 15, 2021

Describe the bug

ROM keep previous connections when rails reload the codebase.
Due to this behavior, after some changes you get a

PG::ConnectionBad: FATAL:  remaining connection slots are reserved for non-replication superuser connections

To Reproduce

A Rails app with ROM and ROM-SQL.

Change multiple times the codebase with the Rails server started.

Expected behavior

After each reload, ROM should clear his connections.

Your environment

  • Affects my production application: NO
  • Ruby version: 2.6.6
  • OS: All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant