Skip to content

Commit

Permalink
increase stop time delay to 3s
Browse files Browse the repository at this point in the history
  • Loading branch information
mjishnu committed Nov 18, 2023
1 parent eb2f9a5 commit 4a36486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4a36486

Please sign in to comment.