Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Hi, I have some problem with manager.rs. #7

Open
ljqcodelove opened this issue Apr 25, 2022 · 3 comments
Open

Hi, I have some problem with manager.rs. #7

ljqcodelove opened this issue Apr 25, 2022 · 3 comments

Comments

@ljqcodelove
Copy link

ljqcodelove commented Apr 25, 2022

Hi, thanks for sharing the code
Ok, we first have a watcher to notify files' change.(But i am a beginner for rust)
as the condition to enter loop : Ok(DebouncedEvent::Create(p))
why my file has really changed( firstly rm ,and then create)
but this condition is not be satisfied, does anyone have seen this problem before?

My rustc version is 1.57.0

Any help is greatly appreciated.

@ljqcodelove
Copy link
Author

ljqcodelove commented Apr 25, 2022

When I run ds2, the iteration only is one like this
image

after one tuning parallelism,the ds2 doesn't keep moving,but the metrics is working

@ljqcodelove
Copy link
Author

this directory is being watched, the code removes it ,then the watcher will be failed.
It seems like that

@ljqcodelove
Copy link
Author

ljqcodelove commented Apr 26, 2022

I solve the issue by notifying the parent file, but how ds2 to solve it?

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

No branches or pull requests

1 participant