浏览代码

fix: db_model save to _node_execution_cache (#19911)

tags/1.4.1
非法操作 5 个月前
父节点
当前提交
bbebf9ad3e
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/core/repositories/sqlalchemy_workflow_node_execution_repository.py

+ 1
- 1
api/core/repositories/sqlalchemy_workflow_node_execution_repository.py 查看文件

@@ -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]:
"""

正在加载...
取消
保存