Skip to content

Polling interval #17

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

Open
esstheevau opened this issue Jul 9, 2017 · 2 comments
Open

Polling interval #17

esstheevau opened this issue Jul 9, 2017 · 2 comments

Comments

@esstheevau
Copy link

As far as I can see the component polls the API too frequently:

MIN_TIME_BETWEEN_UPDATES is set to 10 which might be suitable for development purposes. However, in a production environment I consider this as a bit too frequent, given the fact that the environment doesn't essentially change this fast.

Would you consider setting that value higher, e.g. to 240? I think that would still be accurate enough but significantly reduce the amount of requests being sent to the API host.

@wmalgadey
Copy link
Owner

I will add a configuration for this purpose. This seems to fit all purpose ;)

@syssi
Copy link

syssi commented Jul 9, 2017

The angular app (my.tado.com) polls every 10 seconds, too:

zone-update

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

3 participants