Minor cleanup
This commit is contained in:
parent
3da6c50cb8
commit
4dab817521
|
@ -6,11 +6,6 @@ type
|
||||||
|
|
||||||
var maxConns {.threadvar.}: int
|
var maxConns {.threadvar.}: int
|
||||||
|
|
||||||
let keepAlive* = newHttpHeaders({
|
|
||||||
"connection": "Keep-Alive",
|
|
||||||
"accept-encoding": "gzip"
|
|
||||||
})
|
|
||||||
|
|
||||||
proc setMaxHttpConns*(n: int) =
|
proc setMaxHttpConns*(n: int) =
|
||||||
maxConns = n
|
maxConns = n
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue