Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hy-cc opened this issue Sep 27, 2017 · 0 comments
Open

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

hy-cc opened this issue Sep 27, 2017 · 0 comments

Comments

@hy-cc
Copy link

hy-cc commented Sep 27, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant