I'm listing established lobbies in my game, and I have a refresh button where I list them. If the user presses it too much, I end up with bad requests. Can I set a limit on findlobby through PlayFab, or do I need to set the limit myself with code?
I'm listing established lobbies in my game, and I have a refresh button where I list them. If the user presses it too much, I end up with bad requests. Can I set a limit on findlobby through PlayFab, or do I need to set the limit myself with code?
Since PlayFab API request rate limits are used to prevent overuse of the API, protect server resources, and ensure fair use of the service by all users, PlayFab does not provide the feature for you to set limits through code.
In addition, when a player reaches the FindLobbyes API call rate limit, the returned API error contains "retryAfterSeconds" indicating the waiting time for the next call. You could handle and display this message to notify the player that the refresh is occurring too frequently, and how long it will take until the next refresh is available.
63 People are following this question.