From e275055236bd5948d74de71d02a6c1fefda40f8d Mon Sep 17 00:00:00 2001 From: Natnael Getahun Date: Thu, 5 Oct 2023 12:09:35 +0200 Subject: [PATCH 1/2] Increase lock timeout limit to silence stong migration warnings --- config/initializers/strong_migrations.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/strong_migrations.rb b/config/initializers/strong_migrations.rb index 81ad10ff5..d4b4eb72b 100644 --- a/config/initializers/strong_migrations.rb +++ b/config/initializers/strong_migrations.rb @@ -1,5 +1,6 @@ # rubocop:disable Style/NumericLiterals unless Rails.env.production? StrongMigrations.start_after = 20200205123840 + StrongMigrations.lock_timeout_limit = 86400.seconds end # rubocop:enable Style/NumericLiterals From c15cb41cc5446504d3bd9cb7f16b5d1296a3d32a Mon Sep 17 00:00:00 2001 From: Natnael Getahun Date: Tue, 28 Nov 2023 13:29:55 +0100 Subject: [PATCH 2/2] Disable strong_migration lock timeout limit checks --- config/initializers/strong_migrations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/strong_migrations.rb b/config/initializers/strong_migrations.rb index d4b4eb72b..94adbf53f 100644 --- a/config/initializers/strong_migrations.rb +++ b/config/initializers/strong_migrations.rb @@ -1,6 +1,6 @@ # rubocop:disable Style/NumericLiterals unless Rails.env.production? StrongMigrations.start_after = 20200205123840 - StrongMigrations.lock_timeout_limit = 86400.seconds + StrongMigrations.lock_timeout_limit = 0 end # rubocop:enable Style/NumericLiterals