Update status when performing repository maintenance

This commit is contained in:
CalDescent 2021-10-03 19:31:05 +01:00
parent 3bb3528aa5
commit b6d3e82304

View File

@ -318,6 +318,8 @@ public class HSQLDBDatabasePruning {
public static void performMaintenance(Repository repository) throws SQLException, DataException {
try {
SplashFrame.getInstance().updateStatus("Performing maintenance...");
// Timeout if the database isn't ready for backing up after 5 minutes
// Nothing else should be using the db at this point, so a timeout shouldn't happen
long timeout = 5 * 60 * 1000L;