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

Handling of large file being written to the watched folder #5

Open
nkhalasi opened this issue May 19, 2021 · 0 comments
Open

Handling of large file being written to the watched folder #5

nkhalasi opened this issue May 19, 2021 · 0 comments

Comments

@nkhalasi
Copy link

When large files are being written into a watched folder over some network, there is a possiblity that a partial file is received for processing in the consumer.

There are multiple ways to handle this, but the easiest to ensure that the file's modified timestamp does not change for more than n seconds (e.g. 5 secs) and then send the event over the channel for processing.

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