diff --git a/libs/checkpoint-postgres/langgraph/store/postgres/base.py b/libs/checkpoint-postgres/langgraph/store/postgres/base.py index 73d826d77..c73d59753 100644 --- a/libs/checkpoint-postgres/langgraph/store/postgres/base.py +++ b/libs/checkpoint-postgres/langgraph/store/postgres/base.py @@ -756,6 +756,7 @@ class PostgresStore(BaseStore, BasePostgresStore[_pg_internal.Conn]): If provided, will create a connection pool and use it instead of a single connection. This overrides the `pipeline` argument. index: The index configuration for the store. + ttl: The TTL configuration for the store. Returns: PostgresStore: A new PostgresStore instance. diff --git a/libs/langgraph/langgraph/pregel/runner.py b/libs/langgraph/langgraph/pregel/runner.py index ab6c7a17d..39dd92256 100644 --- a/libs/langgraph/langgraph/pregel/runner.py +++ b/libs/langgraph/langgraph/pregel/runner.py @@ -190,7 +190,7 @@ class PregelRunner: tb = tb.tb_next exc.__traceback__ = tb raise - if not futures: # maybe `t` schuduled another task + if not futures: # maybe `t` scheduled another task return else: tasks = () # don't reschedule this task @@ -326,7 +326,7 @@ class PregelRunner: tb = tb.tb_next exc.__traceback__ = tb raise - if not futures: # maybe `t` schuduled another task + if not futures: # maybe `t` scheduled another task return else: tasks = () # don't reschedule this task