Enable default request timeout of 300 seconds (#870)

Sets a default request timeout of 300 seconds to fix Instaloader hanging indefinitely when used on an unstable internet connection without using --request-timeout, such as in #810.
This commit is contained in:
Alexander Graf authored and GitHub committed 2020-11-14 18:47:37 +01:00
1 parent b57bbe2af0
commit 1c2e226630
4 files changed
+20 -21

No files matched your search

+4 -1
View File
@@ -238,10 +238,13 @@ How to Download
.. option:: --request-timeout N
Seconds to wait before timing out a connection request.
Seconds to wait before timing out a connection request. Defaults to 300.
.. versionadded:: 4.3
.. versionchanged:: 4.6
Enabled this option by default with a timeout of 300 seconds.
Miscellaneous Options
^^^^^^^^^^^^^^^^^^^^^