mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-29 03:30:24 +08:00
延长读写线程超时时间/增加相关测试用例
This commit is contained in:
@@ -41,7 +41,7 @@ func (this *Limiter) Ack() {
|
||||
}
|
||||
|
||||
func (this *Limiter) TryAck() bool {
|
||||
const timeoutDuration = 500 * time.Millisecond
|
||||
const timeoutDuration = 1 * time.Second
|
||||
|
||||
var timeout *time.Timer
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user