diff --git a/src/Core/Repositories/SqlServer/MaintenanceRepository.cs b/src/Core/Repositories/SqlServer/MaintenanceRepository.cs index 6a86662b93..a1b9af9fe2 100644 --- a/src/Core/Repositories/SqlServer/MaintenanceRepository.cs +++ b/src/Core/Repositories/SqlServer/MaintenanceRepository.cs @@ -23,7 +23,7 @@ namespace Bit.Core.Repositories.SqlServer "[dbo].[AzureSQLMaintenance]", new { operation = "statistics", mode = "smart", LogToTable = true }, commandType: CommandType.StoredProcedure, - commandTimeout: 86400); + commandTimeout: 172800); } } @@ -46,7 +46,7 @@ namespace Bit.Core.Repositories.SqlServer "[dbo].[AzureSQLMaintenance]", new { operation = "index", mode = "smart", LogToTable = true }, commandType: CommandType.StoredProcedure, - commandTimeout: 86400); + commandTimeout: 172800); } } @@ -57,7 +57,7 @@ namespace Bit.Core.Repositories.SqlServer await connection.ExecuteAsync( "[dbo].[Grant_DeleteExpired]", commandType: CommandType.StoredProcedure, - commandTimeout: 86400); + commandTimeout: 172800); } } }