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

修复当目录同步未配置识别并重命名时配置项media.min_filesize无效 #750

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NavyD
Copy link

@NavyD NavyD commented Jul 19, 2024

之前在仅目录同步 不识别 时media.min_filesize无效会导致一些小文件被同步,这个PR在仅文件同步时检查event_path文件的大小,跳过同步小于media.min_filesize的文件。

由于FileMonitorHandler目前未处理closed事件,在同步时文件可能处于打开状态导致大小不准确,目前简单的使用while检查直到文件大小不改变

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

Successfully merging this pull request may close these issues.

1 participant