-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix: Ensure multiple Pods don't get created for a GameServer
Since the cache is eventually consistent, there was a race condition in which a GameServer could create more than one Pod backing it, as the first one isn't found in the cache yet. This sync's the cache before checking this value, so the cache is up to date.
- Loading branch information
1 parent
e7e7274
commit eb26a9d
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters