Skip to content

Re-added Auto-Pruner for full helper roles #1203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

Zabuzard
Copy link
Member

@Zabuzard Zabuzard commented Nov 25, 2024

#1076 removed the auto-pruner because we thought Discord fixed the underlying issue. But apparently we are running into it again. Just that now the user limit seems to be 250 and not 100.

This reverts the removal and bumps the limit to 250, so that inactive users will be automatically pruned from the role again whenever it approaches the limit fo 250 users.

Config changes

Dont forget while deploying. Adds this to the config:

"helperPruneConfig": {
    "roleFullLimit": 250,
    "roleFullThreshold": 245,
    "pruneMemberAmount": 7,
    "inactivateAfterDays": 90,
    "recentlyJoinedDays": 4
},

@Zabuzard Zabuzard added bug Something isn't working config-changes if your PR contains any changes related to config file labels Nov 25, 2024
@Zabuzard Zabuzard self-assigned this Nov 25, 2024
@Zabuzard Zabuzard requested a review from a team as a code owner November 25, 2024 09:24
@Zabuzard Zabuzard merged commit b6cd50b into develop Nov 25, 2024
10 checks passed
@Zabuzard Zabuzard deleted the feature/revert_helper_prune branch November 25, 2024 09:38
@ankitsmt211 ankitsmt211 mentioned this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working config-changes if your PR contains any changes related to config file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants