From 4056daa22e11aae7cf4941c11263bdbafbfafe82 Mon Sep 17 00:00:00 2001 From: Zabuzard Date: Wed, 9 Nov 2022 14:36:13 +0100 Subject: [PATCH] Some tweaks to the helper prune system * pruning earlier, but therefore less should hopefully lead to being able to prune the desired amount of people each time, getting less warnings --- .../tjbot/commands/help/AutoPruneHelperRoutine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/togetherjava/tjbot/commands/help/AutoPruneHelperRoutine.java b/application/src/main/java/org/togetherjava/tjbot/commands/help/AutoPruneHelperRoutine.java index 926595c270..d3f790745e 100644 --- a/application/src/main/java/org/togetherjava/tjbot/commands/help/AutoPruneHelperRoutine.java +++ b/application/src/main/java/org/togetherjava/tjbot/commands/help/AutoPruneHelperRoutine.java @@ -33,9 +33,9 @@ public final class AutoPruneHelperRoutine implements Routine { private static final int ROLE_FULL_LIMIT = 100; private static final int ROLE_FULL_THRESHOLD = 95; - private static final int PRUNE_MEMBER_AMOUNT = 10; + private static final int PRUNE_MEMBER_AMOUNT = 7; private static final Period INACTIVE_AFTER = Period.ofDays(90); - private static final int RECENTLY_JOINED_DAYS = 7; + private static final int RECENTLY_JOINED_DAYS = 4; private final HelpSystemHelper helper; private final ModAuditLogWriter modAuditLogWriter;