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

ignores does not apply to directory watching #2

Open
Commelina opened this issue Jun 30, 2023 · 0 comments
Open

ignores does not apply to directory watching #2

Commelina opened this issue Jun 30, 2023 · 0 comments
Assignees

Comments

@Commelina
Copy link

I have been using this tool for remote development on a big project, which contains a frequently-altered directory, say local-data. I put it in the ignores field in my config and am sure delta transmission is on. However, there is still a very high network flow even though there is no change in my project (of course, except for the directories I have ignored).

Then I analyzed the log and finally found that it is because the ignores field is only passed to rsync, but not the directory watcher. So it thinks my project is altered every second and does rsync very frequently, which causes high metadata transmission(although there is no real data transmitted, it is still very large!).

A possible fix may be to pass the ignore field not only to rsync, but also to the directory watcher.

@4eUeP 4eUeP self-assigned this Jul 25, 2023
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

2 participants