ing
This commit is contained in:
@@ -109,10 +109,8 @@ Loop:
|
||||
return err
|
||||
}
|
||||
|
||||
timer := time.NewTimer(time.Microsecond * 100)
|
||||
|
||||
select {
|
||||
case <-timer.C:
|
||||
case <-time.After(time.Microsecond * 100):
|
||||
case <-stopChan:
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user