加点小延迟

This commit is contained in:
2019-12-04 10:12:16 +08:00
parent 53bda4d853
commit 65be98f6b8
2 changed files with 6 additions and 5 deletions

2
api.py
View File

@ -236,7 +236,7 @@ class XiGuaLiveApi:
更新房间信息
:return:
"""
if not force and self._updRoomAt > (datetime.now() - timedelta(minutes=2)):
if not force and self._updRoomAt > (datetime.now() - timedelta(minutes=3)):
return self.isLive
self._updRoomAt = datetime.now()
if self.isLive: