Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How does one avoid throttling in data store?

Asked by 6 years ago

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. ;(

0
Read the wiki about it, sadly pcall won't help but yeah, I use a loop every 20 seconds for every player User#20388 0 — 6y
0
Why not only save on an interval? Like every 1min? whenallthepigsfly 541 — 6y

1 answer

Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
6 years ago

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.

Ad

Answer this question