decrease delay after failed connection

This commit is contained in:
Christian Ulrich 2020-08-16 12:42:04 +02:00
parent dcd2c03d45
commit d02c0ddd82
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ proc initServerConnection(serverHostname: string, serverPort: Port,
if failCount == 3:
raise e
failCount.inc
await sleepAsync(1000)
await sleepAsync(100)
continue
await sock.connect(serverHostname, serverPort)
let id = rand(uint32)