forked from mirror/ledisdb
Merge branch 'pr/122' into develop
This commit is contained in:
parent
f2cc5f5fd9
commit
bb01d4c246
|
@ -139,7 +139,7 @@ func (c *ttlChecker) setNextCheckTime(when int64, force bool) {
|
|||
c.Lock()
|
||||
if force {
|
||||
c.nc = when
|
||||
} else if !force && c.nc > when {
|
||||
} else if c.nc > when {
|
||||
c.nc = when
|
||||
}
|
||||
c.Unlock()
|
||||
|
|
Loading…
Reference in New Issue