Show maximum time estimations in archiving and pruning statuses

This commit is contained in:
CalDescent 2021-10-03 18:41:47 +01:00
parent ac49221639
commit 4f892835b8
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public class HSQLDBDatabaseArchiving {
} }
LOGGER.info("Building block archive - this process could take a while... (approx. 15 mins on high spec)"); LOGGER.info("Building block archive - this process could take a while... (approx. 15 mins on high spec)");
SplashFrame.getInstance().updateStatus("Building block archive, please wait..."); SplashFrame.getInstance().updateStatus("Building block archive (takes up to 60 mins)...");
final int maximumArchiveHeight = BlockArchiveWriter.getMaxArchiveHeight(repository); final int maximumArchiveHeight = BlockArchiveWriter.getMaxArchiveHeight(repository);
int startHeight = 0; int startHeight = 0;

View File

@ -61,7 +61,7 @@ public class HSQLDBDatabasePruning {
LOGGER.info("Starting bulk prune of AT states - this process could take a while... " + LOGGER.info("Starting bulk prune of AT states - this process could take a while... " +
"(approx. 2 mins on high spec, or upwards of 30 mins in some cases)"); "(approx. 2 mins on high spec, or upwards of 30 mins in some cases)");
SplashFrame.getInstance().updateStatus("Pruning database, please wait..."); SplashFrame.getInstance().updateStatus("Pruning database (takes up to 30 mins)...");
// Create new AT-states table to hold smaller dataset // Create new AT-states table to hold smaller dataset
repository.executeCheckedUpdate("DROP TABLE IF EXISTS ATStatesNew"); repository.executeCheckedUpdate("DROP TABLE IF EXISTS ATStatesNew");