fix typo / grammar
This commit is contained in:
parent
cfe24f70dc
commit
3fc54cb730
|
@ -51,7 +51,8 @@ proc getRelativeTimeout(ctx: QuicP2PContext): int32 =
|
|||
if connTimeout < nextTimeout:
|
||||
nextTimeout = connTimeout
|
||||
if now < nextTimeout:
|
||||
# calculate time until nexTimeout convert from microseconds to milliseconds
|
||||
# calculate time until nextTimeout and convert from microseconds to
|
||||
# milliseconds
|
||||
let delta = (nextTimeout - now) div 1_000
|
||||
result = min(delta, int32.high).int32
|
||||
|
||||
|
|
Loading…
Reference in New Issue