mirror of
https://github.com/bitwarden/server.git
synced 2025-04-20 20:45:10 -05:00
allow maintenance tasks to take 48 hours
This commit is contained in:
parent
4a0071f721
commit
218fec52f1
@ -23,7 +23,7 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
"[dbo].[AzureSQLMaintenance]",
|
"[dbo].[AzureSQLMaintenance]",
|
||||||
new { operation = "statistics", mode = "smart", LogToTable = true },
|
new { operation = "statistics", mode = "smart", LogToTable = true },
|
||||||
commandType: CommandType.StoredProcedure,
|
commandType: CommandType.StoredProcedure,
|
||||||
commandTimeout: 86400);
|
commandTimeout: 172800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
"[dbo].[AzureSQLMaintenance]",
|
"[dbo].[AzureSQLMaintenance]",
|
||||||
new { operation = "index", mode = "smart", LogToTable = true },
|
new { operation = "index", mode = "smart", LogToTable = true },
|
||||||
commandType: CommandType.StoredProcedure,
|
commandType: CommandType.StoredProcedure,
|
||||||
commandTimeout: 86400);
|
commandTimeout: 172800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
await connection.ExecuteAsync(
|
await connection.ExecuteAsync(
|
||||||
"[dbo].[Grant_DeleteExpired]",
|
"[dbo].[Grant_DeleteExpired]",
|
||||||
commandType: CommandType.StoredProcedure,
|
commandType: CommandType.StoredProcedure,
|
||||||
commandTimeout: 86400);
|
commandTimeout: 172800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user