Skip to content

Commit

Permalink
fix the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
RadKesvat committed May 31, 2023
1 parent cb68b61 commit 1d71c0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tunnel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ proc poolFrame() =
)

var i = context.outbound.connections.len()
for i in 0..globals.pool_size:
while i.uint32 < globals.pool_size:
create()
inc i


proc processConnection(client: Connection) {.async.} =
Expand Down

0 comments on commit 1d71c0f

Please sign in to comment.