Fixed bug causing initial latestATStates data to be discarded.

This commit is contained in:
CalDescent 2023-01-15 15:51:10 +00:00
parent c03f271825
commit 4c52d6f0fc
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ public class AtStatesPruner implements Runnable {
repository.discardChanges();
repository.getATRepository().rebuildLatestAtStates();
repository.saveChanges();
while (!Controller.isStopping()) {
repository.discardChanges();

View File

@ -29,6 +29,7 @@ public class AtStatesTrimmer implements Runnable {
repository.discardChanges();
repository.getATRepository().rebuildLatestAtStates();
repository.saveChanges();
while (!Controller.isStopping()) {
repository.discardChanges();