Set smaller batch size
This commit is contained in:
parent
a9ca6d4065
commit
719171faa3
@ -17,7 +17,7 @@ import (
|
|||||||
"github.com/filecoin-project/lotus/chain/types"
|
"github.com/filecoin-project/lotus/chain/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxBatch = 10000
|
const maxBatch = 3000
|
||||||
|
|
||||||
func runSyncer(ctx context.Context, api api.FullNode, st *storage) {
|
func runSyncer(ctx context.Context, api api.FullNode, st *storage) {
|
||||||
notifs, err := api.ChainNotify(ctx)
|
notifs, err := api.ChainNotify(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user