-
Notifications
You must be signed in to change notification settings - Fork 829
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ports should always be allocated to a GameServer
The allocator was written before we have the autoscaler, which has a requirement to be able to start GameServers past the current number of nodes, so that the autoscaler can find room for them automaticaly. The previous port allocator would only allow port ranges for each current node - but this PR will allow it to go past that, and dynamically add port ranges as required. This also removes the requirement to do a full `GameServer` port sync every time a Node gets removed, and drops a somewhat lengthy locking process.
- Loading branch information
1 parent
e71de58
commit 21c7edc
Showing
3 changed files
with
140 additions
and
258 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
Oops, something went wrong.