Skip to content

Commit

Permalink
Merge pull request #14227 from adrianschroeter/database.yaml
Browse files Browse the repository at this point in the history
[dist] add reconnect: true to database.yaml.template
  • Loading branch information
hennevogel committed Apr 26, 2023
2 parents bb73ad7 + 9ab1054 commit 8d8c1ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/config/database.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ production:
collation: utf8mb4_unicode_ci
timeout: 15
pool: 30
reconnect: true

development:
adapter: mysql2
Expand All @@ -25,6 +26,7 @@ development:
collation: utf8mb4_unicode_ci
timeout: 15
pool: 30
reconnect: true

# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rails'.
Expand All @@ -38,4 +40,5 @@ test:
collation: utf8mb4_unicode_ci
timeout: 15
pool: 30
reconnect: true

0 comments on commit 8d8c1ea

Please sign in to comment.