Skip to content

Commit

Permalink
rpc: fixed a typo (#24642)
Browse files Browse the repository at this point in the history
  • Loading branch information
tacoo authored Apr 5, 2022
1 parent aa12393 commit 0654014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (h *handler) handleCall(cp *callProc, msg *jsonrpcMessage) *jsonrpcMessage
if callb != h.unsubscribeCb {
rpcRequestGauge.Inc(1)
if answer.Error != nil {
failedReqeustGauge.Inc(1)
failedRequestGauge.Inc(1)
} else {
successfulRequestGauge.Inc(1)
}
Expand Down
2 changes: 1 addition & 1 deletion rpc/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
var (
rpcRequestGauge = metrics.NewRegisteredGauge("rpc/requests", nil)
successfulRequestGauge = metrics.NewRegisteredGauge("rpc/success", nil)
failedReqeustGauge = metrics.NewRegisteredGauge("rpc/failure", nil)
failedRequestGauge = metrics.NewRegisteredGauge("rpc/failure", nil)
rpcServingTimer = metrics.NewRegisteredTimer("rpc/duration/all", nil)
)

Expand Down

1 comment on commit 0654014

@zhongguosuri
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你们听说过俄罗斯太希实验室的tixoncoin/tixoncash?(You have heard of the Russian Taich Laboratory
tixoncoin/tixoncash?)

Please sign in to comment.