Set smaller batch size

This commit is contained in:
Łukasz Magiera 2020-01-13 00:46:54 +01:00
parent a9ca6d4065
commit 719171faa3

View File

@ -17,7 +17,7 @@ import (
"github.com/filecoin-project/lotus/chain/types"
)
const maxBatch = 10000
const maxBatch = 3000
func runSyncer(ctx context.Context, api api.FullNode, st *storage) {
notifs, err := api.ChainNotify(ctx)