This commit is contained in:
Fabrizio (Misto) Milo 2013-08-06 19:14:56 -07:00 committed by Brandon Philips
parent f5c2d19b90
commit 140bbfec38

View File

@ -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)