Relax negotiation timeouts
This commit is contained in:
parent
d097afccdc
commit
23b6e3b98e
|
@ -200,9 +200,9 @@ class NETCPLink: LinkInterface {
|
|||
return maxPacketSize
|
||||
}
|
||||
|
||||
let negotiationTimeout: TimeInterval = 10.0
|
||||
let negotiationTimeout: TimeInterval = 60.0
|
||||
|
||||
let hardResetTimeout: TimeInterval = 5.0
|
||||
let hardResetTimeout: TimeInterval = 20.0
|
||||
|
||||
func setReadHandler(queue: DispatchQueue, _ handler: @escaping ([Data]?, Error?) -> Void) {
|
||||
loopReadPackets(queue, Data(), handler)
|
||||
|
|
Loading…
Reference in New Issue