From 364076c1ea5b8e54dcf37f80eadc4beddc8a39b7 Mon Sep 17 00:00:00 2001 From: vyzo Date: Sat, 27 Feb 2021 16:06:33 +0200 Subject: [PATCH] set NoSync option for bolt livesets --- chain/store/splitstore/liveset_bolt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chain/store/splitstore/liveset_bolt.go b/chain/store/splitstore/liveset_bolt.go index 07a22b93f..0d6d7cd2e 100644 --- a/chain/store/splitstore/liveset_bolt.go +++ b/chain/store/splitstore/liveset_bolt.go @@ -26,6 +26,7 @@ func NewBoltLiveSetEnv(path string) (*BoltLiveSetEnv, error) { db, err := bolt.Open(path, 0644, &bolt.Options{ Timeout: 1 * time.Second, + NoSync: true, }) if err != nil { return nil, err