mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-26 17:40:25 +00:00
Remove redundant select
This commit is contained in:
parent
c67dc7ff1d
commit
8bbd0363e9
@ -89,9 +89,7 @@ func main() {
|
||||
Expiration: int32((*interval) + 300),
|
||||
})
|
||||
|
||||
select {
|
||||
case <-time.After(time.Duration(*interval) * time.Second):
|
||||
}
|
||||
<-time.After(time.Duration(*interval) * time.Second)
|
||||
|
||||
// rotate keys. the last key is now encryption key.
|
||||
// generate new key and append it to the last, so that
|
||||
|
Loading…
Reference in New Issue
Block a user