mirror of
https://github.com/restic/restic.git
synced 2026-10-20 08:08:11 +00:00
Seed chunker with random per-repository polynomial
This commit is contained in:
1 parent
c969a42e8d
commit
b2307cafa2
7 files changed
+79
-31
No files matched your search
+1
-1
@@ -201,7 +201,7 @@ func (arch *Archiver) SaveFile(p *Progress, node *Node) (Blobs, error) {
|
||||
|
||||
// store all chunks
|
||||
chnker := GetChunker("archiver.SaveFile")
|
||||
chnker.Reset(file)
|
||||
chnker.Reset(file, arch.s.ChunkerPolynomial())
|
||||
chans := [](<-chan Blob){}
|
||||
defer FreeChunker("archiver.SaveFile", chnker)
|
||||
|
||||
|
||||
Reference in new issue
Block a user