-
Notifications
You must be signed in to change notification settings - Fork 817
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
Fixed gameserverset overshooting the number of GameServers #621
Conversation
… during large turnups where some of the servers become unhealthy and get deleted. Now we treat Shutdown the same as deleted. Also fixed how we count # of servers in GSS to exclude Shutdown and deleted ones.
Build Succeeded 👏 Build Id: b45561c4-afff-4c97-85b7-a335d164797e The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
@@ -321,6 +321,16 @@ func (gs *GameServer) GetDevAddress() (string, bool) { | |||
return devAddress, hasDevAddress | |||
} | |||
|
|||
// IsAllocated returns true if the server is currently allocated. | |||
func (gs *GameServer) IsAllocated() bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I've been wanting to write this for weeks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🆗
Build Succeeded 👏 Build Id: c8e29425-8941-4a14-a1ef-2ecb43feaa78 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
This happens typically during large turnups where some of the servers become unhealthy and get deleted. Now we treat
Shutdown
the same as deleted.Also fixed how we count # of servers in GSS to exclude
Shutdown
and deleted ones.Fixes #569