From d765f9398b09e99c498764583a6017890900e5c1 Mon Sep 17 00:00:00 2001 From: Aaron Nelson Date: Sat, 25 Apr 2026 16:44:13 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20watcher=20timeout=20loop=20=E2=80=94=20ex?= =?UTF-8?q?clude=20Backups=20folder,=20increase=20timeout=20to=2030min?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/watcher.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/watcher.py b/scripts/watcher.py index cece5cd..7a5afd2 100644 --- a/scripts/watcher.py +++ b/scripts/watcher.py @@ -63,7 +63,7 @@ def run_ingestion(): [PYTHON, INGEST_SCRIPT, NEXTCLOUD_PATH], capture_output=True, text=True, - timeout=600 + timeout=1800 ) if result.returncode == 0: # Update state with new mtimes @@ -93,6 +93,8 @@ class IngestHandler(FileSystemEventHandler): return if path.name.startswith('.') or path.name.startswith('~$'): return + if 'Admin/Backups' in str(path) or 'Backups' in path.parts: + return self.pending = True self.last_event = time.time()