nezuo / lapis

A DataStore abstraction library for Roblox
https://nezuo.github.io/lapis/
MIT License
55 stars 10 forks source link

Add warning when throttle queue becomes too large #41

Open nezuo opened 6 months ago

nezuo commented 6 months ago

Lapis keeps it's own throttle queue so every request eventually gets processed. The downside is that the throttle queue can infinitely grow, causing documents to not be saved for a long time (or even before the server closes). Lapis should warn if the throttle becomes large enough that the user is doing something wrong.