Every 5 seconds I publish async but sometimes it gives out this error, I’m not 100% sure on the limitations of the service but I’m pretty sure I’m within the limit. I’m confused to why this is happening.
while wait(5) do
if not RaceConcluded then
local LiveData = {
["Laps"] = RaceData.Laps;
["Track"] = RaceData.Track;
["TrackType"] = RaceData.TrackType;
["Identifier"] = RaceData.raceCode;
["Racers"] = Racers
}
MessagingService:PublishAsync('Live Races', HttpService:JSONEncode(LiveData))
else
break
end
end