diff --git a/index.js b/index.js index 2791453..6e97019 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ class Lokue extends EventEmitter { _initTimers () { this._tickItv = setInterval(this.tick.bind(this), this.opts.timeout_tick) - this._savetv = setInterval(this.save.bind(this), this.opts.timeout_save) + this._saveItv = setInterval(this.save.bind(this), this.opts.timeout_save) } _initDB () { diff --git a/package.json b/package.json index 01670bf..3dde558 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lokue", - "version": "0.0.8", + "version": "0.0.9", "private": false, "description": "LokiJS Task Queue", "author": {