overmindbots / core

Core monorepo with our apps and packages
1 stars 0 forks source link

Implement fulfillment of CertainInvites #133

Closed RafaelVidaurre closed 6 years ago

monitz87 commented 6 years ago

While implementing I ran into some questions:

RafaelVidaurre commented 6 years ago

@monitz87

RafaelVidaurre commented 6 years ago

@monitz87 about caching. That's a tougher one, why do you have to query each referral for each member every x seconds by the way?

monitz87 commented 6 years ago

We decided on not querying the database on an interval, but instead only doing it on startup and trusting that no events will be lost by discordjs.