diff --git a/lib/mastodon/cli/maintenance.rb b/lib/mastodon/cli/maintenance.rb index ae369a7397..f4712e9f77 100644 --- a/lib/mastodon/cli/maintenance.rb +++ b/lib/mastodon/cli/maintenance.rb @@ -177,6 +177,9 @@ module Mastodon::CLI def fix_duplicates verify_system_ready! + # Just in case the server's configuration sets a timeout + ActiveRecord::Base.connection.execute 'SET statement_timeout = 0' + process_deduplications deduplication_cleanup_tasks