Commit e04b366f authored by ibuler's avatar ibuler

[Bugfix] 修复大量残留日志重传导致的问题

parent e4da494d
...@@ -184,7 +184,7 @@ class Coco: ...@@ -184,7 +184,7 @@ class Coco:
ok = recorder.upload_replay(session_id, 1) ok = recorder.upload_replay(session_id, 1)
if not ok and os.path.getsize(full_path) == 0: if not ok and os.path.getsize(full_path) == 0:
os.unlink(full_path) os.unlink(full_path)
time.sleep(1)
time.sleep(interval) time.sleep(interval)
thread = threading.Thread(target=func) thread = threading.Thread(target=func)
thread.start() thread.start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment