Relax negotiation timeouts

This commit is contained in:
Davide De Rosa 2019-04-16 23:59:41 +02:00
parent d097afccdc
commit 23b6e3b98e
1 changed files with 2 additions and 2 deletions

View File

@ -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)