Skip to content

Commit 0b4d426

Browse files
author
M. Peter
committed
fixed #78
1 parent fec7842 commit 0b4d426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_src/lib/node_cache.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ module.exports = class NodeCache extends EventEmitter
476476
@_check( key, value )
477477

478478
if startPeriod and @options.checkperiod > 0
479-
@checkTimeout = setTimeout( @_checkData, ( @options.checkperiod * 1000 ) )
479+
@checkTimeout = setTimeout( @_checkData, ( @options.checkperiod * 1000 ), startPeriod )
480480
@checkTimeout.unref() if @checkTimeout.unref?
481481
return
482482

0 commit comments

Comments
 (0)