Datastore request was added to queue. If request fills, further request will be dropped

For some reason my datastore keeps requesting too fast. I can’t seem to figure out what is making it do this. Any help?

game.Players.PlayerRemoving:Connect(function(plr)
		
local Success, ErrorMsg = pcall(function()
			
	local GearsSaved = {}
			
		for i, gearname in pairs(plr.Backpack:GetChildren()) do 
			if gearname then
			
		table.insert(GearsSaved, gearname.Name) 
	end
end
		wait()
		MyData:SetAsync(plr.UserId.."-gears", GearsSaved) 
		
	end)
	
	if Success then
	    wait(3)
	else
		print("Ran into a problem saving "..plr.Name.."'s Gears. Check for error below.")
		wait(3)
		error(ErrorMsg)
		end	
	end)
end)

Are you calling SetAsync() somewhere else (maybe inside a BindToClose() function)?

I checked the script and I could only find that part to be calling SetAsync().

In that case, I’m not sure why it’s doing this; However, I can still give you a tip. Use UpdateAsync() instead of SetAsync(). The following article explains it really well: Stop using SetAsync() to save player data.

Solved the issue. I realized that the other part of the script when the player is added is in the same function.