Skip to content

formidable 缓存的文件未删除,导致磁盘打满 #14

@hy-cc

Description

@hy-cc

程序写入文件后,并没有手动删除 formidable 新增的临时文件 upload_***,导致临时文件越来越多,容易导致服务器磁盘打满
建议在 next 函数 fs.writeFile 的 callback 里加上:fs.unlink(from)

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