Skip to content

Commit

Permalink
Merge pull request #3 from ZIMkaRU/bugfix/fix-save-interval-reference
Browse files Browse the repository at this point in the history
Fix save interval reference
  • Loading branch information
prdn authored Aug 8, 2024
2 parents 2dc3a45 + ebd4b7f commit 351c226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lokue",
"version": "0.0.8",
"version": "0.0.9",
"private": false,
"description": "LokiJS Task Queue",
"author": {
Expand Down

0 comments on commit 351c226

Please sign in to comment.