mirror of
https://github.com/octoleo/restic.git
synced 2025-04-04 14:31:50 +00:00
index: Lower parallel load to 4
This commit is contained in:
parent
f63c7048c7
commit
6eb2d76435
@ -369,7 +369,7 @@ func (r *Repository) SaveFullIndex(ctx context.Context) error {
|
|||||||
return r.saveIndex(ctx, r.idx.FullIndexes()...)
|
return r.saveIndex(ctx, r.idx.FullIndexes()...)
|
||||||
}
|
}
|
||||||
|
|
||||||
const loadIndexParallelism = 20
|
const loadIndexParallelism = 4
|
||||||
|
|
||||||
// LoadIndex loads all index files from the backend in parallel and stores them
|
// LoadIndex loads all index files from the backend in parallel and stores them
|
||||||
// in the master index. The first error that occurred is returned.
|
// in the master index. The first error that occurred is returned.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user