jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785181 )

Change subject: retry for internal_api_error_DBQueryTimeoutError errors
......................................................................

retry for internal_api_error_DBQueryTimeoutError errors

T297708 changed some DBQueryError to DBQueryTimeoutError

Change-Id: Idb19d43d1ba5b2a95ab3dc441b4755dc802916fc
---
M pywikibot/data/api.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index cc1183b..3e279c8 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -1691,6 +1691,7 @@
         # TODO: T154011: 'ReadOnlyError' seems replaced by 'readonly'
         retry = class_name in ['DBConnectionError',  # T64974
                                'DBQueryError',  # T60158
+                               'DBQueryTimeoutError',  # T297708
                                'ReadOnlyError',  # T61227
                                'readonly',  # T154011
                                ]

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785181
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Idb19d43d1ba5b2a95ab3dc441b4755dc802916fc
Gerrit-Change-Number: 785181
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to