Skip to content

Commit

Permalink
bugfix: accidentally removed updateInterval int prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 7, 2024
1 parent bdfdb26 commit b1c4ab0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/de/nqueensfaf/Solver.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ else if (progress >= tmpProgress + config().autoSavePercentageStep) {
tmpProgress = progress;
}
}

try {
Thread.sleep(config().updateInterval);
} catch (InterruptedException e) {
// ignore
}
}

if(autoSaver) {
Expand Down

0 comments on commit b1c4ab0

Please sign in to comment.