store.aget It's deadlocked???? #2690
tianshangwuyun
started this conversation in
Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I built a graph using asynccontextmanager and AsyncConnection.connect, version 2.0.6
Then retrieve data through store.aget. When executed before a certain await, is deadlock. However, if executed after await, such as after calling LLM's ainvoke, there is no problem. I can build the graph using pool without any problem
CustomPgMemorySaver only extend AsyncPostgresSaver
class CustomPgMemorySaver(AsyncPostgresSaver):
pass
one_node of Graph, this node is async:
it is call store.aget ,and then deadlock,
but
has no problem
i change to pool also no problem
Beta Was this translation helpful? Give feedback.
All reactions