diff options
Diffstat (limited to 'lib/tasks/gitlab/db/lock_writes.rake')
-rw-r--r-- | lib/tasks/gitlab/db/lock_writes.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/db/lock_writes.rake b/lib/tasks/gitlab/db/lock_writes.rake index a856aa77abc..212d60a7231 100644 --- a/lib/tasks/gitlab/db/lock_writes.rake +++ b/lib/tasks/gitlab/db/lock_writes.rake @@ -15,6 +15,7 @@ namespace :gitlab do table_name: table_name, connection: connection, database_name: database_name, + with_retries: true, logger: Logger.new($stdout), dry_run: ENV['DRY_RUN'] == 'true' ) @@ -39,6 +40,7 @@ namespace :gitlab do table_name: table_name, connection: connection, database_name: database_name, + with_retries: true, logger: Logger.new($stdout) ) |