From 497314acc3e54a31a02199988b23730718ee611b Mon Sep 17 00:00:00 2001 From: Peter Kraft Date: Fri, 18 Oct 2024 10:32:05 -0700 Subject: [PATCH 1/2] version --- pdm.lock | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdm.lock b/pdm.lock index 37a723b..946fcc7 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:6d385dffaab1ae5167d623bf53ba31a0cf4c37a17259d01ae95b5a6051c3906f" +content_hash = "sha256:31dbe33b5f8abbc45ee552ee7be158cabbf4438e978f1e9fcb2a1f060c29ed87" [[metadata.targets]] requires_python = ">=3.9" diff --git a/pyproject.toml b/pyproject.toml index f2e0ae5..01fd23a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ dependencies = [ "fastapi[standard]>=0.115.2", "psutil>=6.0.0", "tomlkit>=0.13.2", - "psycopg>=3.2.3", + "psycopg>=3.1", # Keep compatibility with 3.1--older Python installations/machines can't always install 3.2 ] requires-python = ">=3.9" readme = "README.md" From 2dc3c333f694aa57b87ca4ab003e3f8dce116b94 Mon Sep 17 00:00:00 2001 From: Peter Kraft Date: Fri, 18 Oct 2024 10:48:29 -0700 Subject: [PATCH 2/2] fix --- dbos/system_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbos/system_database.py b/dbos/system_database.py index 5c07665..9453a4a 100644 --- a/dbos/system_database.py +++ b/dbos/system_database.py @@ -793,7 +793,7 @@ def _notification_listener(self) -> None: self.notification_conn.execute("LISTEN dbos_workflow_events_channel") while self._run_background_processes: - gen = self.notification_conn.notifies(timeout=60) + gen = self.notification_conn.notifies() for notify in gen: channel = notify.channel dbos_logger.debug(