Browse Source

proxy: fix endblock metric (#7989)

pull/8036/head
William Banfield 3 years ago
committed by GitHub
parent
commit
ea497301a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/proxy/app_conn.go

+ 1
- 1
internal/proxy/app_conn.go View File

@ -105,7 +105,7 @@ func (app *appConnConsensus) EndBlockSync(
ctx context.Context,
req types.RequestEndBlock,
) (*types.ResponseEndBlock, error) {
defer addTimeSample(app.metrics.MethodTiming.With("method", "deliver_tx", "type", "sync"))()
defer addTimeSample(app.metrics.MethodTiming.With("method", "end_block", "type", "sync"))()
return app.appConn.EndBlockSync(ctx, req)
}


Loading…
Cancel
Save