v.0.11.4
This commit is contained in:
@@ -59,6 +59,13 @@ class EVEWatcher(threading.Thread):
|
||||
except OSError as exc:
|
||||
print(f"[eve] file error: {exc}", flush=True)
|
||||
time.sleep(1.0)
|
||||
except Exception as exc:
|
||||
# A transient downstream failure (SQLite/Redis/NDR/etc.) must
|
||||
# not permanently kill the EVE watcher while the container and
|
||||
# Rust data-plane continue to look healthy.
|
||||
self.stats.inc("eve_runtime_errors")
|
||||
print(f"[eve] processing error: {exc}", flush=True)
|
||||
time.sleep(0.5)
|
||||
|
||||
def _follow_file(self) -> None:
|
||||
with open(self.path, "r", encoding="utf-8", errors="replace") as handle:
|
||||
|
||||
Reference in New Issue
Block a user