auth: add a timeout mechanism to simple token
This commit is contained in:
@ -679,6 +679,9 @@ func (s *EtcdServer) run() {
|
||||
if s.kv != nil {
|
||||
s.kv.Close()
|
||||
}
|
||||
if s.authStore != nil {
|
||||
s.authStore.Close()
|
||||
}
|
||||
if s.be != nil {
|
||||
s.be.Close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user