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

sanitise templates and pollinginterval options #1204

Merged
merged 3 commits into from
Sep 3, 2021

Conversation

ricardo-devis-agullo
Copy link
Collaborator

pollingInterval according to the wiki is an optional config option with a default of 5 seconds, but it wasn't defaulted, so I'm adding it.
Also I'm sanitising templates to default to empty array, because right now it relies on the fact that lodash method union will accept undefined as a parameter (and do a union as if with an empty array), but I think it's safer to have it as empty array from the get-go.

@ricardo-devis-agullo ricardo-devis-agullo merged commit cb43b02 into master Sep 3, 2021
@ricardo-devis-agullo ricardo-devis-agullo deleted the sanitise-templates-pollingInterval branch September 3, 2021 19:46
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