Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-23 | pkg/api/api0: Improve serverlist JSON generation | pg9182 | |
2022-10-23 | pkg/api/api0/serverlist: Use sync.Pool for gzip writers | pg9182 | |
2022-10-23 | all: Switch go github.com/klauspost/compress/gzip | pg9182 | |
It's much faster. | |||
2022-10-22 | pkg/api/api0: Implement experimental option to generate deterministic server IDs | pg9182 | |
2022-10-22 | pkg/api/api0: Add support for additional serverlist config options | pg9182 | |
2022-10-21 | pkg/api/api0: Simplify update locking/waiting logic | pg9182 | |
2022-10-21 | all: pg9182 -> r2northstar | pg9182 | |
2022-10-21 | pkg/api/api0: Add serverlist metric for full servers | pg9182 | |
2022-10-21 | pkg/api/api0: Add serverlist metric for servers with players | pg9182 | |
2022-10-21 | pkg/api/api0: Fix metrics syntax for _other values | pg9182 | |
2022-10-19 | pkg/api/api0: Add metrics | pg9182 | |
2022-10-19 | pkg/api/api0: Implement ServerList WritePrometheus | pg9182 | |
2022-10-16 | pkg/api/api0: Implement ServerList metrics | pg9182 | |
2022-10-16 | pkg/api/api0: Store launcher version in server list | pg9182 | |
2022-10-15 | pkg/api/api0: Filter out mp_lobby && !private_match from /client/servers | pg9182 | |
This matches the behavior of the original master server. | |||
2022-10-15 | pkg/api/api0: Add comment about AuthPort to Server struct | pg9182 | |
2022-10-15 | pkg/api/api0: Fix regression in ServerList refactor | pg9182 | |
2022-10-15 | pkg/api/api0: Add nil check to ServerList.freeServer | pg9182 | |
2022-10-15 | pkg/api/api0: Refactor server verification process | pg9182 | |
* Add an additional pending state for unverified servers. * This allows verification to be done without knowing ahead of time if a server is going to be created or updated. * Also moves more logic into the serverlist. | |||
2022-10-15 | pkg/api/api0: Refactor server state tests | pg9182 | |
2022-10-15 | pkg/api/api0: Remove unused ServerList.GetServerCountByIP() | pg9182 | |
2022-10-15 | pkg/api/api0: Refactor server list updates | pg9182 | |
* Merge update and replace into ServerHybridUpdatePut. * Integrate limits into ServerList itself. * Allow new servers to replace live servers if gameserver and authserver IP and port are identical. * Move server token generation into ServerList. | |||
2022-10-15 | pkg/api/api0: Force a /client/servers update when using ↵ | pg9182 | |
ServerList.DeleteServerByID | |||
2022-10-15 | pkg/api/api0: Remove old ServerList TODO | pg9182 | |
Isn't actually necessary to implement backup/restore since NS has given all fields necessary to re-register in /server/update_values since v1.4.0 (Jan 2022). | |||
2022-10-15 | pkg/api/api0: Fix Server.clone() for ModInfo | pg9182 | |
2022-10-15 | pkg/api/api0: Rename ServerList.GetServerByIP -> ServerList.GetServerCountByIP | pg9182 | |
2022-10-15 | pkg/api/api0: Refactor ServerList UpdateServerByID | pg9182 | |
* Support verifying the server IP. * Return an error instead of a bool. | |||
2022-10-15 | pkg/api/api0: Add ServerAuthToken field to Server | pg9182 | |
2022-10-15 | pkg/api/api0: Include the conflicting server's game addr in error for ↵ | pg9182 | |
duplicate auth addr Will help server owners with troubleshooting and doesn't leak too much private info since the IP will be the same. | |||
2022-10-15 | pkg/api/api0: Cache gzipped /client/servers too | pg9182 | |
Significantly improves performance. | |||
2022-10-15 | pkg/api/api0: Fix ServerList UpdateServerByID eligibility checking | pg9182 | |
Made a typo when doing a refactor earlier. | |||
2022-10-15 | pkg/api/api0: Implement ServerList | pg9182 | |
* Efficient /client/servers JSON generation and caching. * Safe for concurrent usage. * Garbage collection model. * Simpler ghost server logic than old master server. * Reliable ID generation and server updates. * Ensures uniqueness by ID, Addr+GamePort, and Addr+AuthPort, even when reviving ghost servers. |