jenkins-bot submitted this change.

View Change


Approvals: JJMC89: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Update documentation for config.socket_timeout

Change-Id: I2aad3bd16965ac441926847d81141b1218b5ee57
---
M pywikibot/config.py
1 file changed, 11 insertions(+), 1 deletion(-)

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)



To view, visit change 932974. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2aad3bd16965ac441926847d81141b1218b5ee57
Gerrit-Change-Number: 932974
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged