Skip to content

Commit

Permalink
fix node-graceful for agenda
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlescano committed Jul 9, 2017
1 parent f317579 commit 76321ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const Graceful = require('node-graceful')
const pify = require('pify')
const config = require('./lib/config')

Expand Down Expand Up @@ -50,9 +49,6 @@ notifier.init = function init () {
notifier.start = function start () {
return notifier.init().then(() => {
notifier.agenda.start()

Graceful.on('exit', () => notifier.agenda.stop())

return Promise.resolve(notifier)
}).catch((err) => { throw err })
}
Expand Down

0 comments on commit 76321ec

Please sign in to comment.