Enable SO_REUSEPORT for simplier load balancing
This commit is contained in:
parent
d549a77ebe
commit
b5dee25b37
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ settings:
|
||||||
port = Port(cfg.port)
|
port = Port(cfg.port)
|
||||||
staticDir = cfg.staticDir
|
staticDir = cfg.staticDir
|
||||||
bindAddr = cfg.address
|
bindAddr = cfg.address
|
||||||
|
reusePort = true
|
||||||
|
|
||||||
routes:
|
routes:
|
||||||
get "/":
|
get "/":
|
||||||
|
|
Loading…
Reference in a new issue