mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
nip
This commit is contained in:
parent
f5c2d19b90
commit
140bbfec38
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user