Enable SO_REUSEPORT for simplier load balancing
This commit is contained in:
@@ -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 "/":
|
||||||
|
|||||||
Reference in New Issue
Block a user