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

Add environment support for configuring the poll interval #518

Closed
langri-sha opened this issue Aug 3, 2016 · 1 comment
Closed

Add environment support for configuring the poll interval #518

langri-sha opened this issue Aug 3, 2016 · 1 comment

Comments

@langri-sha
Copy link

Currently, CHOKIDAR_USEPOLLING can be set to either 0, 1 or an arbitrary value. Would it make sense to use values greater than 1 to configure the desired polling interval (or introduce another flag)?

This would be immensely useful for environments where resources may be scarce, say a Docker container.

@es128
Copy link
Contributor

es128 commented Aug 3, 2016

Probably its own flag for cleanliness. CHOKIDAR_POLLINTERVAL maybe.

PR welcome.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants