jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/932974 )
Change subject: [doc] Update documentation for config.socket_timeout ......................................................................
[doc] Update documentation for config.socket_timeout
Change-Id: I2aad3bd16965ac441926847d81141b1218b5ee57 --- M pywikibot/config.py 1 file changed, 11 insertions(+), 1 deletion(-)
Approvals: JJMC89: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/config.py b/pywikibot/config.py index 03628a6..c261267 100644 --- a/pywikibot/config.py +++ b/pywikibot/config.py @@ -803,7 +803,8 @@ # DO NOT set to None to disable timeouts. Otherwise this may freeze your # script. # You may assign either a tuple of two int or float values for connection and -# read timeout, or a single value for both in a tuple. +# read timeout, or a single value for both. +# See also: https://requests.readthedocs.io/en/stable/user/advanced/#timeouts socket_timeout = (6.05, 45)