mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Update strong_migrations config
This commit is contained in:
parent
691ff63b87
commit
b272c7407f
1 changed files with 4 additions and 4 deletions
|
|
@ -2,10 +2,10 @@
|
|||
StrongMigrations.start_after = 20_250_122_150_500
|
||||
|
||||
# Set timeouts for migrations
|
||||
# If you use PgBouncer in transaction mode, delete these lines and set timeouts on the database user
|
||||
# Disable lock timeout in production/staging to avoid connection issues
|
||||
StrongMigrations.lock_timeout = Rails.env.development? || Rails.env.test? ? 10.seconds : nil
|
||||
StrongMigrations.statement_timeout = 1.hour
|
||||
# PgBouncer in transaction mode doesn't support SET commands
|
||||
# Timeouts should be set on the database user instead
|
||||
# StrongMigrations.lock_timeout = 10.seconds
|
||||
# StrongMigrations.statement_timeout = 1.hour
|
||||
|
||||
# Analyze tables after indexes are added
|
||||
# Outdated statistics can sometimes hurt performance
|
||||
|
|
|
|||
Loading…
Reference in a new issue