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

ensure the watcher has started before we read #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ensure the watcher has started before we read #116

wants to merge 1 commit into from

Conversation

phemmer
Copy link

@phemmer phemmer commented Mar 29, 2017

...otherwise we can run into the scenario where: On start we read the contents of the file, we hit EOF, and start watching for changes. But in between the EOF and start watching, the file is updated. But since the watcher wasn't started, we don't notice.

...otherwise we can run into the scenario where: On start we read the contents of the file, we hit EOF, and start watching for changes. But in between the EOF and start watching, the file is updated. But since the watcher wasn't started, we don't notice.
@phemmer
Copy link
Author

phemmer commented Mar 6, 2018

Incorporated change from influxdata#4

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