Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit b1085cb77c - Show all commits

View File

@ -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)