Skip to content

[Bug]:SkillBox.uploadSkillFiles 并发问题 #1096

@lfz757077613

Description

@lfz757077613

每次新建agent都会执行文件覆盖写入,程序里没有限制并发,会有多个线程同时执行uploadSkillFiles方法并发对相同文件执行覆盖写入操作。
简单的解法是加个synchronized关键字,保证串行

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions