diff --git a/common/net/timed_io.go b/common/net/timed_io.go index ff2450834..4132bd7e8 100644 --- a/common/net/timed_io.go +++ b/common/net/timed_io.go @@ -33,6 +33,9 @@ func (reader *TimeOutReader) GetTimeOut() int { } func (reader *TimeOutReader) SetTimeOut(value int) { + if value == reader.timeout { + return + } reader.timeout = value if value > 0 { reader.worker = &timedReaderWorker{