From d3237766ac95f653098a6aa8fdda64c9f42b7eff Mon Sep 17 00:00:00 2001 From: William Banfield <4561443+williambanfield@users.noreply.github.com> Date: Wed, 13 Oct 2021 12:15:42 -0400 Subject: [PATCH] Update internal/proxy/app_conn.go Co-authored-by: M. J. Fromberger --- internal/proxy/app_conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/app_conn.go b/internal/proxy/app_conn.go index 52c5c82a0..7753a44b2 100644 --- a/internal/proxy/app_conn.go +++ b/internal/proxy/app_conn.go @@ -138,7 +138,7 @@ func (app *appConnMempool) Error() error { } func (app *appConnMempool) FlushAsync(ctx context.Context) (*abciclient.ReqRes, error) { - defer addTimeSample(app.metrics.MethodTiming.With("method", "flush", "type", "sync"))() + defer addTimeSample(app.metrics.MethodTiming.With("method", "flush", "type", "async"))() return app.appConn.FlushAsync(ctx) }