未验证 提交 3ed8a199 编写于 作者: H Harryoung 提交者: GitHub

change the retention time and remove unused image (#5710)

上级 b623f4b8
......@@ -62,7 +62,7 @@ def delete_result():
root = '.temp'
results = sorted(os.listdir(root))
for res in results:
if int(time.time()) - int(os.path.splitext(res)[0]) > 10000:
if int(time.time()) - int(os.path.splitext(res)[0]) > 900:
os.remove(os.path.join(root, res))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册