Added a CHUNK_SIZE env variable to regulate how many guilds are fetched at the same time on startup
Fixed the noNewUsesCount not being reset when a guild's loop was idle and a new member joined
Fixed an error produced when trying to assign a referral from an invite with no inviter. These invites are now ignored
When members joined a guild without the proper permissions, its member queue would keep growing indefinitely. This introduced a potential memory issue. Now the queue is cleared each time a fetch returns a permission error
affects: @overmindbots/service-referral-ranks-invites
Added a CHUNK_SIZE env variable to regulate how many guilds are fetched at the same time on startup Fixed the noNewUsesCount not being reset when a guild's loop was idle and a new member joined Fixed an error produced when trying to assign a referral from an invite with no inviter. These invites are now ignored When members joined a guild without the proper permissions, its member queue would keep growing indefinitely. This introduced a potential memory issue. Now the queue is cleared each time a fetch returns a permission error