We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79d2a39 commit 6b4c330Copy full SHA for 6b4c330
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