fix(core): extend sleep wait cap to one hour
This commit is contained in:
parent
860fa7b539
commit
21d1a14fea
@ -293,7 +293,7 @@ class MainTerminalToolsExecutionMixin:
|
||||
reason = arguments.get("reason", "等待操作完成")
|
||||
|
||||
# 限制最大等待时间
|
||||
max_sleep = 600 # 最多等待60秒
|
||||
max_sleep = 3600 # 最多等待3600秒(1小时)
|
||||
if seconds > max_sleep:
|
||||
result = {
|
||||
"success": False,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user