diff --git a/store/store.go b/store/store.go index da7274eb3..93a8e3dda 100644 --- a/store/store.go +++ b/store/store.go @@ -205,7 +205,7 @@ func (s *Store) internalSet(key string, value string, expireTime time.Time, inde } else { // If we want the permanent node to have expire time - // We need to create create a go routine with a channel + // We need to create a go routine with a channel if isExpire { node.update = make(chan time.Time) go s.monitorExpiration(key, node.update, expireTime)