forked from Qortal/qortal
Show maximum time estimations in archiving and pruning statuses
This commit is contained in:
parent
ac49221639
commit
4f892835b8
@ -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;
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user