Skip to content

[improvement] executeRunFunction improvement #27

@linxuyalun

Description

@linxuyalun

pkg/workflow/flows.goexecuteRunFunction 函数中,目前的执行逻辑是将上个 flow 的结果直接发往下一个 middleware,如果出错了则发往 lsds。(这里出错的原因可能是 tocttou 问题,函数在执行的时候切好遇到函数 release 了)

这里后续可以有一个策略的改动来提高这部分效率,比如进行同步创建本地和走远程的请求,谁先完成走谁的进程。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions