From 25f5dc86a0a4fc362e1cc9115e66fd32d48e9631 Mon Sep 17 00:00:00 2001 From: Adrian Stevens Date: Tue, 23 Jul 2024 20:58:24 -0700 Subject: [PATCH] Add delay between deletes when calling meadow file delete all --- Source/v2/Meadow.Cli/Commands/Current/File/FileDeleteCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/v2/Meadow.Cli/Commands/Current/File/FileDeleteCommand.cs b/Source/v2/Meadow.Cli/Commands/Current/File/FileDeleteCommand.cs index 6c36588f..fb789510 100644 --- a/Source/v2/Meadow.Cli/Commands/Current/File/FileDeleteCommand.cs +++ b/Source/v2/Meadow.Cli/Commands/Current/File/FileDeleteCommand.cs @@ -92,5 +92,6 @@ private async Task DeleteFileRecursive(IMeadowDevice device, string directorynam Logger?.LogInformation($"Deleting file '{meadowFile}' from device..."); await device.DeleteFile(meadowFile, cancellationToken); + await Task.Delay(100); } } \ No newline at end of file