From 75af9e06bd3e747366e191bc855faa0d8c35190b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Thu, 23 May 2024 10:27:31 +0200 Subject: [PATCH] Apparently delta generation doesn't run inside Tokio runtime --- src/ostree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree.rs b/src/ostree.rs index 8a5a86d..fa5dafb 100644 --- a/src/ostree.rs +++ b/src/ostree.rs @@ -15,7 +15,7 @@ use std::str; use std::time::Duration; use std::{collections::HashMap, path::Path}; use std::{fs, io}; -use tokio::time::sleep; +use std::thread::sleep; use tokio_process::CommandExt; use walkdir::WalkDir;