Disable preloading for now

This commit is contained in:
Alexander Neumann 2015-02-17 23:38:15 +01:00
parent d3fe4a7f6d
commit 65aae5f8c1
9 changed files with 7 additions and 5 deletions

View file

@ -193,11 +193,11 @@ func (cmd CmdBackup) Execute(args []string) error {
return nil
}
fmt.Printf("loading blobs\n")
err = arch.Preload()
if err != nil {
return err
}
// fmt.Printf("loading blobs\n")
// err = arch.Preload()
// if err != nil {
// return err
// }
_, id, err := arch.Snapshot(target, parentSnapshotID)
if err != nil {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cmd/restic/testdata/testfile vendored Normal file

Binary file not shown.

BIN
cmd/restic/testdata/testfile2 vendored Normal file

Binary file not shown.

1
cmd/restic/testdata/testfoo vendored Normal file
View file

@ -0,0 +1 @@
fnord

1
cmd/restic/testdata/testfoo2 vendored Normal file
View file

@ -0,0 +1 @@
fnord