From 4a36486c7291ce2fda81c8155fad816f6bd5636c Mon Sep 17 00:00:00 2001 From: m-jishnu Date: Sat, 18 Nov 2023 18:09:44 +0530 Subject: [PATCH] increase stop time delay to 3s --- pypdl/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypdl/main.py b/pypdl/main.py index e8fc867..cc99dac 100644 --- a/pypdl/main.py +++ b/pypdl/main.py @@ -271,7 +271,7 @@ def stop(self): """ Stop the download process. """ - time.sleep(2) + time.sleep(3) self.Stop.set() # waiting for all threads to be killed by the poison pill for thread in self._threads: