From bbe9d5e0cfb4f16cb8023d061861677025372d2b Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 20 Apr 2022 11:43:38 -0400 Subject: [PATCH] snapshot happens in a separate goroutine --- baseapp/abci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseapp/abci.go b/baseapp/abci.go index 1732abdc3e73..9061170862d2 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -338,7 +338,7 @@ func (app *BaseApp) Commit() (res abci.ResponseCommit) { app.halt() } - app.snapshotManager.SnapshotIfApplicable(header.Height) + go app.snapshotManager.SnapshotIfApplicable(header.Height) return abci.ResponseCommit{ Data: commitID.Hash,