1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-12 00:28:11 -05:00

allow maintenance tasks to take 48 hours

This commit is contained in:
Kyle Spearrin 2020-03-08 20:59:03 -04:00
parent 4a0071f721
commit 218fec52f1

View File

@ -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);
}
}
}