More cleanup

This commit is contained in:
Zed
2022-01-02 11:21:03 +01:00
parent a9034928eb
commit 74c4377198
7 changed files with 11 additions and 11 deletions

View File

@@ -5,8 +5,8 @@ type
HttpPool* = ref object
conns*: seq[AsyncHttpClient]
var maxConns {.threadvar.}: int
var proxy {.threadvar.}: Proxy
var maxConns: int
var proxy: Proxy
proc setMaxHttpConns*(n: int) =
maxConns = n