mirror of
https://github.com/restic/restic.git
synced 2026-05-10 04:25:23 +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.