From f1ad8c8cdf1fcd8a92fd592a8b139905076e5497 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 17 Apr 2015 09:41:39 +0000 Subject: [PATCH] * show donation reminder 20% of the time instead of 10% of the time --- source/net/filebot/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index c8e2cdef..364f689d 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -239,8 +239,8 @@ public class Main { // make sure any long running operations are done now and not later on the shutdownhook thread HistorySpooler.getInstance().commit(); - // show donation / review reminders to power users (more than 2000 renames) but at most 10% of the time as to not overly annoy user that simply don't want to donate - float chance = 0.1f; + // show donation / review reminders to power users (more than 2000 renames) but at most 20% of the time as to not overly annoy user that simply don't want to donate + float chance = 0.2f; int renameCount = HistorySpooler.getInstance().getPersistentHistoryTotalSize(); if (renameCount > 2000 && Math.random() < chance) {