Skip to content

Commit

Permalink
downloader: more durable db mode (#10010)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Apr 23, 2024
1 parent ab361e4 commit 2b8f669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erigon-lib/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -2538,8 +2538,8 @@ func openClient(ctx context.Context, dbDir, snapDir string, cfg *torrent.ClientC
if err != nil {
return nil, nil, nil, nil, fmt.Errorf("torrentcfg.openClient: %w", err)
}
c, err = NewMdbxPieceCompletion(db)
//c, err = NewMdbxPieceCompletionBatch(db)
//c, err = NewMdbxPieceCompletion(db)
c, err = NewMdbxPieceCompletionBatch(db)
if err != nil {
return nil, nil, nil, nil, fmt.Errorf("torrentcfg.NewMdbxPieceCompletion: %w", err)
}
Expand Down

0 comments on commit 2b8f669

Please sign in to comment.