mirror of
https://github.com/borgbackup/borg.git
synced 2026-10-12 02:11:36 +00:00
Both were only ever read by the legacy (borg 1.x, ssh://) remote repository code, so they had no effect on borg2 repositories - borgstore does not do rate limiting or upload buffering at all. For the legacy code path they are not worth keeping either: we only support transferring FROM borg1 repos, so there is not much traffic in the upload direction of a borg1 repo anyway. Removes the SleepingBandwidthLimiter class with them; the only thing left from it is write_to_fd(), which turns a BrokenPipeError into the nicer ConnectionBrokenWithHint. Without an upload buffer size limit, the "queue more calls" condition simplifies to "the send buffer is empty".