mirror of
https://github.com/octoleo/restic.git
synced 2024-11-14 09:14:07 +00:00
e597b99b55
As repack streams packs these occupy one backend connection. Uploading a new pack also requires a backend connection. To prevent a deadlock during repack when reaching the backend connections limit, simply limit the repackWorker count to always leave one connection for uploading. |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
index_parallel_test.go | ||
index_parallel.go | ||
index_test.go | ||
index.go | ||
indexmap_test.go | ||
indexmap.go | ||
key.go | ||
master_index_test.go | ||
master_index.go | ||
packer_manager_test.go | ||
packer_manager.go | ||
repack_test.go | ||
repack.go | ||
repository_internal_test.go | ||
repository_test.go | ||
repository.go | ||
testing.go | ||
worker_group.go |