From 2fde40d1abe30a35c5b9dbdbd7fd967f879fbc10 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sun, 28 May 2023 00:21:31 -0600 Subject: [PATCH] Tolerate timeouts --- projects/tentacles/src/python/tentacles/workers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/tentacles/src/python/tentacles/workers.py b/projects/tentacles/src/python/tentacles/workers.py index 73d603b..3dc233f 100644 --- a/projects/tentacles/src/python/tentacles/workers.py +++ b/projects/tentacles/src/python/tentacles/workers.py @@ -127,6 +127,9 @@ def push_jobs(db_factory: Callable[[], Store]) -> None: client.select(Path(file.path).name) client.start() db.start_job(job.id) + except TimeoutError: + pass + except Exception: log.exception("Oop")