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

Use environment variable to control file watcher coalescence delay #9911

Merged
merged 1 commit into from
May 27, 2018

Conversation

klaussner
Copy link
Contributor

Allows users to set the METEOR_FILE_WATCH_COALESCE_MS environment variable (#9896 (comment)) to control how long Meteor waits before a file change is processed.

Fixes #9896.

@benjamn benjamn added this to the Release 1.7 milestone May 27, 2018
Copy link
Contributor

@benjamn benjamn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @klaussner (and for the suggestion, @veered)!

I think I'm going to hoist the process.env access to the tools/fs/watch.js module scope, since this code runs for every watched path, and accessing process.env can be slow. But I'll do that in a follow-up commit.

@benjamn benjamn changed the base branch from devel to release-1.7 May 27, 2018 15:10
@benjamn benjamn merged commit 797f9ce into meteor:release-1.7 May 27, 2018
benjamn pushed a commit that referenced this pull request May 27, 2018
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.

2 participants