-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose more connection parameters to users + define reasonable defaults #981
Comments
I did some searching and it is making to much connections. I see there is a default constant of Can this made an option so that you can steer the amount of readers you can support? I also found #61 and #72. So this is related. |
I have the same problem, also rclone+sftp with Hetzner:
While I agree the number of connections / threads should be configurable, I don't think it should panic on such occurrence. Instead I'd expect it to temporary back off and try again later. |
I removed the error label because the abort is a different story (and I think it wouldn't help you to let rustic just gracefully exit in this case). The main problem is that rclone does return a permanent http error code in some cases where the error might be non-permanent. We could add a configuration which allows rustic to retry for permanent errors - this IMO is a feature request. Better would be to open a rclone issue to ask if they can treat this case better. Did you try rustic 0.7.0 and sftp using opendal, see https://github.com/rustic-rs/rustic/blob/main/config/services/sftp_hetzner_sbox.toml? This circumvents the rclone issue. |
rustic-rs/rustic_core#155 starts to implement some logic regarding that topic, but only for the OpenDAL-supported backends. |
CC: rustic-rs/rustic#981 Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
For the opendal backend, it would also be nice to be able to set a bandwidth limit via a |
@k9withabone has been implemented in rustic-rs/rustic_core#216 (and should be available in the next nightly build) |
Thanks! I'll test it out. |
I'm restoring files from the backup (rclone+sftp). Sometimes it panics:
It is making to much connections. Running with debug:
The text was updated successfully, but these errors were encountered: