mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Lower the timeout on fetching wiki status live, 5 seconds is the exact time debug is waiting for
This commit is contained in:
parent
d0f209e6c6
commit
2e4a5e20e1
|
@ -165,7 +165,7 @@ class DomainManager:
|
|||
"meta": "siteinfo", "utf8": 1, "rcshow": "!bot",
|
||||
"rcprop": "title|redirect|timestamp|ids|loginfo|parsedcomment|sizes|flags|tags|user|userid",
|
||||
"rclimit": 500, "rctype": "edit|new|log|categorize", "siprop": "namespaces|general"})
|
||||
wiki_json["wiki_rc"] = await wiki.api_request(params=params, timeout=5)
|
||||
wiki_json["wiki_rc"] = await wiki.api_request(params=params, timeout=3)
|
||||
except:
|
||||
wiki_json["wiki_rc"] = None
|
||||
json_string: str = json.dumps(wiki_json)
|
||||
|
|
Loading…
Reference in a new issue