nezuo / lapis

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

Throttle queue should process requests on different keys at the same time #14

Closed nezuo closed 1 year ago

nezuo commented 1 year ago

Right now, the throttle queue only processes one request at a time. This means if you loaded a document and it kept retrying because it was session locked that would stop all other load/save/close requests. This is obviously not ideal.

Fixing this would mean that the order of UpdateAsync calls for different keys is not guaranteed.