Track manual snapshots and apply versioned camera config
Heimdall Gitea / Build and tests (pull_request) Failing after 1m34s
Heimdall Gitea / Publish versioned release (pull_request) Skipped

This commit is contained in:
Arnaud Dartois committed 2026-10-23 07:30:58 +02:00
1 parent f4a8f4a668
commit 8f00f69a5f
30 files changed
+645 -63

No files matched your search

@@ -209,6 +209,13 @@ public sealed class StorageProviderFactory : IStorageProvider, Heimdall.Applicat
finally { DisposeProvider(provider); }
}
public async Task<int> CleanupStagingAsync(DateTime olderThanUtc, CancellationToken ct = default)
{
var provider = Resolve();
try { return await provider.CleanupStagingAsync(olderThanUtc, ct).ConfigureAwait(false); }
finally { DisposeProvider(provider); }
}
private static void DisposeProvider(IStorageProvider provider) => (provider as IDisposable)?.Dispose();
private IStorageProvider Resolve(string? providerOverride = null)