networkteam/orphaned-resources
Composer 安装命令:
composer require networkteam/orphaned-resources
包简介
Removes orphaned files in Data/Persistent/Resources
README 文档
README
Provides a command that removes orphaned files in Data/Persistent/Resources which have no resource entity in db.
They are safe to delete.
This is the counterpart to the Flow command resource:clean.
Usage
./flow orphanedresource:remove --execute --minimum-age=3600
Why is it necessary?
In a perfect world it's not necessary, but when a resource is created in filesystem and an exception or service outage occurs before it's persisted in database then you have such orphaned resource files.
统计信息
- 总下载量: 908
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-14