We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 79d2a39 + 6b4c330 commit ca1413bCopy full SHA for ca1413b
1 file changed
pota/index.js
@@ -8,7 +8,7 @@ module.exports = class POTASpots extends events.EventEmitter {
8
//constructor
9
constructor(opts = {}) {
10
super();
11
- this.potapollinterval = opts.potapollinterval || 120; // Default to 120 seconds
+ this.potapollinterval = Math.max(30, (opts.potapollinterval || 120)); // Default to 120 seconds, 30 seconds minmum
12
this.potaspotcache = [];
13
}
14
0 commit comments