We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae11582 commit 1a86918Copy full SHA for 1a86918
bot/local/bot_local.py
@@ -30,7 +30,7 @@ def try_create_ot2_bot():
30
31
# 尝试从队列中获取结果,设置超时时间防止无限等待
32
try:
33
- success = queue.get(timeout=3) # 设置适当的超时时间,例如10秒
+ success = queue.get(timeout=3)
34
except Exception as e:
35
LOGGER.error("Failed to retrieve the result from the subprocess: %s", e)
36
success = False
0 commit comments