mirror of
https://github.com/restic/restic.git
synced 2026-07-28 18:14:53 +00:00
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.