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

How does one avoid throttling in data store?

I've been trying a queue system, but it didn't stop it being able to throttle, I've also tried only saving when the player leaves but it didn't work the only thing that works for me is saving the data instantly after a player does something (for example clicks the 'done' button on an avatar editor it triggers it to save a put the clothing on the player if it doesn't trigger it to save when the function is ending and it only saves when the player leaves it will lose it's data) I really don't know what to do to try to avoid throttling. ;(

2 comments

0

Read the wiki about it, sadly pcall won't help but yeah, I use a loop every 20 seconds for every player

0

Why not only save on an interval? Like every 1min?

1 answer

When a data store request is throttled, it wouldn't affect the saving system, as it will have a chance to run again after the number of data store requests is below the requested function's limit.

Probably, there's something wrong with your code, or Roblox is having problems attempting to save the data.

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