Commit Graph
16 Commits
Author SHA1 Message Date
Carl Johnsen 696bf1282e Made LightweightBackendManager.TryCreateFolder public 2025-11-20 09:28:52 +01:00
Carl Johnsen 82382814eb Made the LightweightBackendManager resettable 2025-11-20 09:27:15 +01:00
Carl Johnsen 521102dfeb Rename should reset the stream position before handing it off to the put operation 2025-11-06 15:01:37 +01:00
Carl Johnsen cca0dbf8f8 If the stream does not support streaming, it shouldn't be reset on failure (e.g. due to folder missing) 2025-11-05 08:48:19 +01:00
Kenneth Skovhede 012aeed7de Add dynamic streaming toggle
This PR adds a dynamic property so a backend can signal if it supports streaming, based on the settings.

This is currently used for the File backend, so that toggling `--use-move-for-put` will disable streaming on the backend instead of relying on the `--disable-streaming-transfers` flag.
2025-11-03 12:48:37 +01:00
Carl Johnsen bdb1ec0ed8 Made the backoff wait timer reset on every operation. 2025-08-07 21:06:48 +02:00
Carl Johnsen 8e30612071 Changed LightWeightBackendManager.ListAsync to return a List rather than an IAsyncEnumerable to allow it to retry the operation on failure. 2025-08-07 21:05:35 +02:00
Carl Johnsen a4183f189b Made AutoCreateFolder also use the retry logic. 2025-08-07 21:03:05 +02:00
Carl Johnsen 69ff37a684 Moved the retry counting to the Retry method, so that it's counted per operation, rather per overall runtime 2025-08-07 21:02:39 +02:00
Carl Johnsen dcc59f190b Added ConfigureAwait(false) to all async calls 2025-08-06 07:30:35 +02:00
Carl Johnsen de952cae9c In the case of a backend not supporting streaming operations, the backend should be disposed. 2025-08-06 06:14:38 +02:00
Carl Johnsen f30e3db25b Updated and added docstrings for the remote synchronization tool 2025-08-05 20:09:09 +02:00
Carl Johnsen fafd3d1907 Handled nullable warnings, as the fields in question are guarenteed to not be null at those points 2025-08-05 19:38:38 +02:00
Carl Johnsen b5b33fb019 Added proper resetting of streams during errors within the remote synchronization tool 2025-08-05 15:07:52 +02:00
Carl Johnsen 542186228d Added error handling to the lightweight backend manager; copied from BackendManager.Handler 2025-08-05 13:05:10 +02:00
Carl Johnsen 167bd46a8a Added a lightweight backend manager to the remote synchronization tool 2025-08-05 11:07:19 +02:00