// sometimes lucky if many files have been processed over time

This commit is contained in:
Reinhard Pointner 2017-02-04 01:37:30 +08:00
parent 76d7364cc0
commit d6567cf119
1 changed files with 2 additions and 2 deletions

View File

@ -92,12 +92,12 @@ public enum SupportDialog {
}
// always lucky if many files are processed in a single session
if (sessionRenameCount >= 2000 * Math.pow(2, supportRevisionCount)) {
if (sessionRenameCount >= 5000 * Math.pow(2, supportRevisionCount)) {
return true;
}
// sometimes lucky if many files have been processed over time
return totalRenameCount >= 1000 * Math.pow(4, supportRevisionCount) && Math.random() >= 0.777;
return totalRenameCount >= 2000 * Math.pow(4, supportRevisionCount) && Math.random() >= 0.2;
}
public boolean show(int totalRenameCount, boolean first) {