Skip to content

Commit

Permalink
fix: re-add reconnect: true to database
Browse files Browse the repository at this point in the history
This is deprecated and, in my tests, isn't needed but to avoid any
potential issues I am re-adding it here. When we upgrade to Rails 7.1,
we can remove this and that'll handle reconnections as appropriate.
  • Loading branch information
adamcooke committed Feb 6, 2024
1 parent b9edcf5 commit 7bc5230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
default: &default
adapter: mysql2
reconnect: true
encoding: <%= Postal.config.main_db.encoding %>
pool: <%= Postal.config.main_db.pool_size %>
username: <%= Postal.config.main_db.username %>
Expand Down

0 comments on commit 7bc5230

Please sign in to comment.