Adding slow pump detection to web_conn and better metrics (#6114)
* Adding slow pump detection to web_conn and better metrics * Fixing bad merge * Fixing typo
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
81706b402d
Коммит
e62afeace0
@@ -34,6 +34,7 @@ const (
|
||||
WEBSOCKET_AUTHENTICATION_CHALLENGE = "authentication_challenge"
|
||||
WEBSOCKET_EVENT_REACTION_ADDED = "reaction_added"
|
||||
WEBSOCKET_EVENT_REACTION_REMOVED = "reaction_removed"
|
||||
WEBSOCKET_EVENT_RESPONSE = "response"
|
||||
)
|
||||
|
||||
type WebSocketMessage interface {
|
||||
@@ -117,7 +118,7 @@ func (o *WebSocketResponse) IsValid() bool {
|
||||
}
|
||||
|
||||
func (o *WebSocketResponse) EventType() string {
|
||||
return ""
|
||||
return WEBSOCKET_EVENT_RESPONSE
|
||||
}
|
||||
|
||||
func (o *WebSocketResponse) ToJson() string {
|
||||
|
||||
Ссылка в новой задаче
Block a user