mirror of
https://github.com/restic/restic.git
synced 2026-11-23 23:12:52 +00:00
server: Add config
This commit is contained in:
1 parent
bebb08ee7e
commit
d4bf5bb279
5 files changed
+55
-24
No files matched your search
+1
-1
@@ -184,7 +184,7 @@ func (arch *Archiver) SaveFile(p *Progress, node *Node) error {
|
||||
}
|
||||
|
||||
chnker := GetChunker("archiver.SaveFile")
|
||||
chnker.Reset(file, arch.s.ChunkerPolynomial())
|
||||
chnker.Reset(file, arch.s.Config.ChunkerPolynomial)
|
||||
resultChannels := [](<-chan saveResult){}
|
||||
defer FreeChunker("archiver.SaveFile", chnker)
|
||||
|
||||
|
||||
Reference in new issue
Block a user