Skip to content

Commit 2f7301f

Browse files
authored
Remove useless thread sleep
1 parent 1efc961 commit 2f7301f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

WebDriverManager/Services/Impl/BinaryService.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.IO;
33
using System.IO.Compression;
44
using System.Net;
5-
using System.Threading;
65
using WebDriverManager.Helpers;
76

87
namespace WebDriverManager.Services.Impl
@@ -24,9 +23,7 @@ protected string DownloadZip(string url, string destination)
2423
if (File.Exists(destination)) return destination;
2524
using (var webClient = new WebClient())
2625
{
27-
Thread.Sleep(200);
2826
webClient.DownloadFile(new Uri(url), destination);
29-
Thread.Sleep(200);
3027
}
3128
return destination;
3229
}
@@ -57,4 +54,4 @@ protected void RemoveZip(string path)
5754
File.Delete(path);
5855
}
5956
}
60-
}
57+
}

0 commit comments

Comments
 (0)