remove rate limiting

master
Christian Ulrich 2020-11-18 18:23:00 +01:00
parent 490d34bd79
commit b91f8ab2e5
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ proc punch(puncher: Puncher, peerIp: IpAddress, peerPort: Port,
# TODO: replace asyncdispatch.sendTo with asyncnet.sendTo (Nim 1.4 required)
await sendTo(puncher.sock.getFd().AsyncFD, msg.cstring, msg.len,
cast[ptr SockAddr](addr peerAddr), peerSockLen)
await sleepAsync(20)
if lowTTL:
puncher.sock.getFd.setSockOptInt(IPPROTO_IP, IP_TTL, defaultTTL)
except OSError as e: