@crowdedkingdomstudios/crowdyjs 5.2.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4515,8 +4515,12 @@ export type ServerEventNotification = {
4515
4515
  /** The unique identifier of the object controlling this event. */
4516
4516
  uuid: Scalars['String']['output'];
4517
4517
  };
4518
- /** Lifecycle state of a game/GraphQL server in the fleet. Only ReadyForClients servers should receive new client connections; serverWithLeastClients and activeGraphQLServers already filter to healthy servers. */
4518
+ /** Lifecycle/capacity state of a game/GraphQL server in the fleet. Only ReadyForClients servers should receive new client connections; serverWithLeastClients and activeGraphQLServers already filter to healthy, non-overloaded servers. */
4519
4519
  export declare enum ServerState {
4520
+ /** Buddy hard resource overload: excluded from new-client selection and actively shedding clients (sends reconnect commands so they migrate elsewhere). */
4521
+ Full = "Full",
4522
+ /** Buddy soft resource overload: excluded from new-client selection until it recovers; existing sessions continue. */
4523
+ NearCapacity = "NearCapacity",
4520
4524
  /** Not running or unreachable (e.g. crashed or missed heartbeats). */
4521
4525
  Offline = "Offline",
4522
4526
  /** Healthy and accepting client traffic. The only state safe to route to. */