mirror of https://github.com/langgenius/dify.git
fix: db_model save to _node_execution_cache (#19911)
This commit is contained in:
parent
11146b6bae
commit
bbebf9ad3e
|
|
@ -202,7 +202,7 @@ class SQLAlchemyWorkflowNodeExecutionRepository(WorkflowNodeExecutionRepository)
|
|||
# Only cache if we have a node_execution_id to use as the cache key
|
||||
if db_model.node_execution_id:
|
||||
logger.debug(f"Updating cache for node_execution_id: {db_model.node_execution_id}")
|
||||
self._node_execution_cache[db_model.node_execution_id] = db_model
|
||||
self._node_execution_cache[db_model.node_execution_id] = execution
|
||||
|
||||
def get_by_node_execution_id(self, node_execution_id: str) -> Optional[NodeExecution]:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue