Context Canceled Error during Leaderboards Reset


So during the leaderboards reset what I am doing is storing the data I have in the leaderboards (we use a bunch of leaderboards to simulate different divisions) so I can properly calculate how many divisions we will have after the leaderboards are reset, I only process this data when all the leaderboards have been reset.

Thing is, I am getting context canceled for some reason during the processing of the data (I call a function that processes the data on the last leaderboard to be reset)

Hi, @BernardoSantos.

Not sure how this data processing is triggered but context canceled errors are usually related to client disconnects (timeout, network issues and such). Are you doing the data processing on the LeaderboardResetFunction (which uses a background context)?


Ended up finding the problem, I was doing processing in a background goroutine