mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 08:37:59 +00:00
Added backups of all data, restorable on another computer (#1008)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
ab45580473
commit
936043319c
144 files changed
+10417
-424
No files matched your search
@@ -36,6 +36,9 @@ public sealed partial class DataSourceEmbeddingService
|
||||
if (activeRun is not null)
|
||||
await activeRun.Completion.Task;
|
||||
|
||||
// A backup copies the stores during a pause, and the copies would no longer fit together:
|
||||
await this.pauses.WaitWhilePausedAsync(CancellationToken.None);
|
||||
|
||||
await this.ResetPersistedStateAsync(dataSourceId, null, null, CancellationToken.None);
|
||||
this.statuses.TryRemove(dataSourceId, out _);
|
||||
PublishStatusChanged();
|
||||
|
||||
Reference in new issue
Block a user