Push dev work to master #2
|
@ -65,8 +65,9 @@ intval.init = function () {
|
|||
expiredInterval: 2 * 60 * 1000, // [NEW] every 2 minutes the process will clean-up the expired cache
|
||||
forgiveParseErrors: false // [NEW]
|
||||
}).then(intval._restoreState).catch((err) => {
|
||||
log.error('init', err)
|
||||
return intval._setState()
|
||||
log.warn('init', err)
|
||||
intval._setState()
|
||||
intval._declarePins()
|
||||
})
|
||||
|
||||
process.on('SIGINT', intval._undeclarePins)
|
||||
|
|
Loading…
Reference in New Issue