-
Notifications
You must be signed in to change notification settings - Fork 36
fix(config-manager): Updated polling interval condition. #208
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
fix(config-manager): Updated polling interval condition. #208
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Please update readme.md for valid polling interval. |
Please update readme.md for polling interval. |
# If polling interval is less than minimum allowed interval then set it to default update interval. | ||
if update_interval < enums.ConfigManager.MIN_UPDATE_INTERVAL: | ||
# If polling interval is less than or equal to 0 then set it to default update interval. | ||
if update_interval <= 0: | ||
self.logger.debug('update_interval value {} too small. Defaulting to {}'.format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update_interval value is not greater than zero, Defaulting to {} value
. @aliabbasrizvi WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think current message is fine.
Summary