Skip to content

Commit

Permalink
<fix>[constants]: add StateSyncConnected event state
Browse files Browse the repository at this point in the history
StateSyncConnected means client is connected to a server in the ensemble
  • Loading branch information
KaithyRookie authored and jeffbean committed Apr 20, 2024
1 parent 1f93ce3 commit 73cc2ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const (
StateUnknown State = -1
StateDisconnected State = 0
StateConnecting State = 1
StateSyncConnected State = 3
StateAuthFailed State = 4
StateConnectedReadOnly State = 5
StateSaslAuthenticated State = 6
Expand Down Expand Up @@ -92,6 +93,7 @@ var (
StateConnecting: "StateConnecting",
StateConnected: "StateConnected",
StateHasSession: "StateHasSession",
StateSyncConnected: "StateSyncConnected",
}
)

Expand Down

0 comments on commit 73cc2ca

Please sign in to comment.