Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Data store "Write Requests (same key)" limitation?

Might be silly to ask, but I want someone to confirm me if I do have to wait 6 seconds before calling SetAsync() on the same key again after calling it. If that's the case, will my SetAsync() call error or will it yield until the 6 seconds have passed? Thanks beforehand.

From the wiki page about Data stores: Image

1 answer

✓ Accepted answer

There is no need to write to a data store every 6 seconds or less. hold your info for maybe a minute and write it then. As for your question, if you go to this part of that article you will see that the game will throttle the requests to that key until you get back to an ok writing speed.

1 comment

0

Had a quick look at the article and completly missed that part. It seems I'll have to add a cooldown to my "Save Stats" button then. Thanks for the answer!

This discussion is preserved as it was. New answers, comments, and votes are closed.