Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hack fix: disabling client side rate limiting for GDC #500

Merged

Conversation

SamuelBellomo
Copy link
Contributor

@SamuelBellomo SamuelBellomo commented Mar 3, 2022

Description (*)

Disabling client side rate limiting for GDC, real fix should come on develop.
What this means is if we're spamming the refresh button, we'll have rate limit warnings coming from the services popping up in our logs.
Real fix would be to come back to async await and simplify the error catching flow, catch the rate limit exception and only start rate limiting client side once we get that exception (instead of doing our own client side rate limit logic which isn't the same as the one applied on the server)

Related Pull Requests

Real fix draft:
#501

Issue Number(s) (*)

MTT-2664
MTT-2668

Fixes issue(s):

Manual testing scenarios

  1. Spam refresh on lobby list
  2. Try to create and quit and create again real fast.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@SamuelBellomo SamuelBellomo added 1-Needs Review PR needs attention from the assignee and reviewers 0-workaround labels Mar 3, 2022
@SamuelBellomo SamuelBellomo marked this pull request as ready for review March 3, 2022 18:52
@SamuelBellomo SamuelBellomo added the 2-Easy This PR is trivial and can be reviewed quickly label Mar 3, 2022
@SamuelBellomo SamuelBellomo added 2-One More Review One review in, one to go and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 3, 2022
@fernando-cortez fernando-cortez added 3-Good to Merge and removed 2-One More Review One review in, one to go labels Mar 7, 2022
@SamuelBellomo SamuelBellomo merged commit 11f70ee into release/GDC2022 Mar 8, 2022
@SamuelBellomo SamuelBellomo deleted the sam/fix/fixing-rate-limit-issues-hack branch March 8, 2022 01:42
SamuelBellomo added a commit that referenced this pull request Mar 8, 2022
…ocal

* release/GDC2022:
  Cherrypick: bigger floor tiles, bossroom.unity scene merge conflict resolved with unity merge tool (#519)
  Cherrypick: lobby visual rework, mainmenu.unity scene merge conflict resolved with unity merge tool (#520)
  cherrypick: Boss and run VFX Optimizations (#514) (#521)
  feat: loading screen (GDC version) (#495)
  fix: client writing to NetworkVariable inside ServerCharacterMovement (#517)
  fix: imps spawning issues when late joining (#497)
  Adding handling of host disconnect (#486) (#509)
  fix: NREs when trying to quit (#516)
  hack fix: disabling client side rate limiting for GDC, real fix should come on develop (#500)
  fix: NetworkAnimator being called on clients (#512)
  fix: username changing before game (#499)
  feat: IP connection window inside main menu (#502) (#508)

# Conflicts:
#	Assets/BossRoom/Scenes/Startup.unity
SamuelBellomo added a commit that referenced this pull request Mar 9, 2022
…I-stats

* release/GDC2022:
  lobby fix: Removing quit when lobby detects host left. (#505)
  Cherrypick: bigger floor tiles, bossroom.unity scene merge conflict resolved with unity merge tool (#519)
  Cherrypick: lobby visual rework, mainmenu.unity scene merge conflict resolved with unity merge tool (#520)
  cherrypick: Boss and run VFX Optimizations (#514) (#521)
  feat: loading screen (GDC version) (#495)
  fix: client writing to NetworkVariable inside ServerCharacterMovement (#517)
  fix: imps spawning issues when late joining (#497)
  Adding handling of host disconnect (#486) (#509)
  fix: NREs when trying to quit (#516)
  hack fix: disabling client side rate limiting for GDC, real fix should come on develop (#500)
  fix: NetworkAnimator being called on clients (#512)
  fix: username changing before game (#499)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-workaround 2-Easy This PR is trivial and can be reviewed quickly 3-Good to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants