Skip to content

Query Optimization for large servers #5

@Djones4822

Description

@Djones4822

I tried deploying on a server with 100k+ members that needed to be purged. The first role we selected fetched 40k members, the guildSync and roleSync both encountered failures due to the query using a parameterized member list comparison.

I have a fork that builds and runs, however I don't think I'm going to tackle refactoring the queries unless you're willing to merge the changes/offer support.

Let me know, I can contribute if you are interested in picking this back up. Migrating to Discord4j 3.2x would be wise too, I encountered a number of problems with that (i have a branch in my fork).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions