retry/rclone: retry errors up to 5 times

This commit is contained in:
Michael Eischer
2025-02-16 22:40:55 +01:00
parent c970e58739
commit 8d1185b3b8
3 changed files with 18 additions and 0 deletions

View File

@@ -341,6 +341,12 @@ func (be *Backend) Close() error {
return be.waitResult
}
func (be *Backend) Properties() backend.Properties {
properties := be.Backend.Properties()
properties.HasFlakyErrors = true
return properties
}
// Warmup not implemented
func (be *Backend) Warmup(_ context.Context, _ []backend.Handle) ([]backend.Handle, error) {
return []backend.Handle{}, nil