small fixes
This commit is contained in:
parent
27e8326202
commit
3dd1ddf9bf
1 changed files with 2 additions and 3 deletions
|
|
@ -3,9 +3,8 @@ const crypto = require('crypto');
|
|||
const xor = require('buffer-xor');
|
||||
const _ = require('lodash');
|
||||
const EventEmitter = require('events');
|
||||
const sleep = require('sleep');
|
||||
|
||||
let debug = 'console';
|
||||
let debug = '';
|
||||
|
||||
const getLogger = () => {
|
||||
const consoleLogger = msg => console.log('plejd-ble', msg);
|
||||
|
|
@ -347,7 +346,7 @@ class PlejdService extends EventEmitter {
|
|||
this.pingRef = setInterval(async () => {
|
||||
logger('ping');
|
||||
await this.ping();
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
|
||||
await this.ping();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue