This commit is contained in:
Josh Harvey 2016-04-23 21:54:46 +03:00
parent 8a4b447db3
commit e930925818
5 changed files with 15 additions and 31 deletions

View file

@ -11,7 +11,7 @@ function getBalances () {
}
db.init('psql://lamassu:lamassu@localhost/lamassu')
notifier.init(db, getBalances)
notifier.init(db, getBalances, {lowBalanceThreshold: 10})
console.log('DEBUG0')
notifier.checkStatus()
.then(function (alertRec) {