remove debug
This commit is contained in:
parent
6fa6ac1647
commit
89b185827c
1 changed files with 0 additions and 3 deletions
|
|
@ -34,7 +34,6 @@ function checkHasLightning (settings) {
|
|||
}
|
||||
|
||||
function poll (req, res, next) {
|
||||
console.log('DEBUG102')
|
||||
const deviceId = req.deviceId
|
||||
const deviceTime = req.deviceTime
|
||||
const serialNumber = req.query.sn
|
||||
|
|
@ -42,10 +41,8 @@ function poll (req, res, next) {
|
|||
const settings = req.settings
|
||||
const config = configManager.machineScoped(deviceId, settings.config)
|
||||
const pi = plugins(settings, deviceId)
|
||||
console.log('DEBUG101')
|
||||
const hasLightning = checkHasLightning(settings)
|
||||
|
||||
console.log('DEBUG100')
|
||||
pids[deviceId] = {pid, ts: Date.now()}
|
||||
|
||||
return pi.pollQueries(serialNumber, deviceTime, req.query)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue