Skip to content

Commit

Permalink
fixed #78
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Peter committed Dec 21, 2016
1 parent fec7842 commit 0b4d426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _src/lib/node_cache.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ module.exports = class NodeCache extends EventEmitter
@_check( key, value )

if startPeriod and @options.checkperiod > 0
@checkTimeout = setTimeout( @_checkData, ( @options.checkperiod * 1000 ) )
@checkTimeout = setTimeout( @_checkData, ( @options.checkperiod * 1000 ), startPeriod )
@checkTimeout.unref() if @checkTimeout.unref?
return

Expand Down

0 comments on commit 0b4d426

Please sign in to comment.