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
2020-11-14 18:47:37 +01:00
committed by GitHub
parent b57bbe2af0
commit 1c2e226630
4 changed files with 20 additions and 21 deletions

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
^^^^^^^^^^^^^^^^^^^^^