From 177a71aa27b313ab605cb8d3d653cf031bd187d7 Mon Sep 17 00:00:00 2001 From: blelump Date: Fri, 6 Dec 2024 16:36:32 +0100 Subject: [PATCH] fix: append instead of start from scratch after each restart --- components/watcher/src/watcher/tel_providing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/watcher/src/watcher/tel_providing.rs b/components/watcher/src/watcher/tel_providing.rs index 7f913b61..51e08c30 100644 --- a/components/watcher/src/watcher/tel_providing.rs +++ b/components/watcher/src/watcher/tel_providing.rs @@ -38,7 +38,7 @@ impl Store { // Create file if doesn't exist. let _file = OpenOptions::new() .read(true) - .write(true) + .append(true) .create(true) .open(&path)?; Ok(Store(path))