Skip to content

Commit

Permalink
feat: extend Snapshotter to archive only specific files and directo…
Browse files Browse the repository at this point in the history
…ries

Co-authored-by: Sébastien Fauvel <[email protected]>
  • Loading branch information
dlachaume and sfauvel committed Dec 20, 2024
1 parent 6cb9d30 commit 4331d07
Show file tree
Hide file tree
Showing 2 changed files with 318 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl CardanoImmutableFilesFullArtifactBuilder {
// spawn a separate thread to prevent blocking
let ongoing_snapshot =
tokio::task::spawn_blocking(move || -> StdResult<OngoingSnapshot> {
snapshotter.snapshot(&snapshot_name)
snapshotter.snapshot_all(&snapshot_name)
})
.await??;

Expand Down
Loading

0 comments on commit 4331d07

Please sign in to comment.