Skip to content

Commit

Permalink
Dependabot 2024.01
Browse files Browse the repository at this point in the history
  • Loading branch information
raschy committed Jan 2, 2024
1 parent 5b95804 commit ae341ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class Deyeidc extends utils.Adapter {
this.idc.setLoggerSn(this.config.logger);
// __________________
// check if the sync time is a number, if not, the string is parsed to a number
if (isNaN(this.config.pollInterval) || this.config.pollInterval < 5) {
if (isNaN(this.config.pollInterval) || this.config.pollInterval < 1) {
this.executionInterval = 60;
this.log.warn(`Sync time was too short (${this.config.pollInterval} sec). New sync time is ${this.executionInterval} sec.`);
} else {
Expand Down

0 comments on commit ae341ca

Please sign in to comment.