|
@@ -90,8 +90,8 @@ class ReplaceShikigami(BaseTask, ReplaceShikigamiAssets):
|
|
|
while 1:
|
|
while 1:
|
|
|
# ——1. 先做超时检查——
|
|
# ——1. 先做超时检查——
|
|
|
if time.time() - start_time > TIMEOUT_SEC:
|
|
if time.time() - start_time > TIMEOUT_SEC:
|
|
|
- logger.error('寄养等待超过 1 分钟,自动退出')
|
|
|
|
|
- raise GameStuckError('寄养超时(>60 s)')
|
|
|
|
|
|
|
+ logger.error('寄养等待超过 2 分钟,自动退出')
|
|
|
|
|
+ raise GameStuckError('寄养超时(>120 s)')
|
|
|
|
|
|
|
|
self.screenshot()
|
|
self.screenshot()
|
|
|
|
|
|