forked from TrueCloudLab/restic
doc: Correct two typos
This commit is contained in:
parent
0b6ccea461
commit
8c1125fe13
4 changed files with 5 additions and 5 deletions
|
@ -1492,7 +1492,7 @@ Details
|
||||||
|
|
||||||
Restic did not support limiting the IO concurrency / number of connections for accessing
|
Restic did not support limiting the IO concurrency / number of connections for accessing
|
||||||
repositories stored using the local or SFTP backends. The number of connections is now limited
|
repositories stored using the local or SFTP backends. The number of connections is now limited
|
||||||
as for other backends, and can be configured via the the `-o local.connections=2` and `-o
|
as for other backends, and can be configured via the `-o local.connections=2` and `-o
|
||||||
sftp.connections=5` options. This ensures that restic does not overwhelm the backend with
|
sftp.connections=5` options. This ensures that restic does not overwhelm the backend with
|
||||||
concurrent IO operations.
|
concurrent IO operations.
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ Enhancement: Allow limiting IO concurrency for local and SFTP backend
|
||||||
Restic did not support limiting the IO concurrency / number of connections for
|
Restic did not support limiting the IO concurrency / number of connections for
|
||||||
accessing repositories stored using the local or SFTP backends. The number of
|
accessing repositories stored using the local or SFTP backends. The number of
|
||||||
connections is now limited as for other backends, and can be configured via the
|
connections is now limited as for other backends, and can be configured via the
|
||||||
the `-o local.connections=2` and `-o sftp.connections=5` options. This ensures
|
`-o local.connections=2` and `-o sftp.connections=5` options. This ensures that
|
||||||
that restic does not overwhelm the backend with concurrent IO operations.
|
restic does not overwhelm the backend with concurrent IO operations.
|
||||||
|
|
||||||
https://github.com/restic/restic/pull/3475
|
https://github.com/restic/restic/pull/3475
|
||||||
|
|
|
@ -829,7 +829,7 @@ func (r *Repository) List(ctx context.Context, t restic.FileType, fn func(restic
|
||||||
}
|
}
|
||||||
|
|
||||||
// ListPack returns the list of blobs saved in the pack id and the length of
|
// ListPack returns the list of blobs saved in the pack id and the length of
|
||||||
// the the pack header.
|
// the pack header.
|
||||||
func (r *Repository) ListPack(ctx context.Context, id restic.ID, size int64) ([]restic.Blob, uint32, error) {
|
func (r *Repository) ListPack(ctx context.Context, id restic.ID, size int64) ([]restic.Blob, uint32, error) {
|
||||||
h := restic.Handle{Type: restic.PackFile, Name: id.String()}
|
h := restic.Handle{Type: restic.PackFile, Name: id.String()}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ type Repository interface {
|
||||||
List(ctx context.Context, t FileType, fn func(ID, int64) error) error
|
List(ctx context.Context, t FileType, fn func(ID, int64) error) error
|
||||||
|
|
||||||
// ListPack returns the list of blobs saved in the pack id and the length of
|
// ListPack returns the list of blobs saved in the pack id and the length of
|
||||||
// the the pack header.
|
// the pack header.
|
||||||
ListPack(context.Context, ID, int64) ([]Blob, uint32, error)
|
ListPack(context.Context, ID, int64) ([]Blob, uint32, error)
|
||||||
|
|
||||||
LoadBlob(context.Context, BlobType, ID, []byte) ([]byte, error)
|
LoadBlob(context.Context, BlobType, ID, []byte) ([]byte, error)
|
||||||
|
|
Loading…
Reference in a new issue