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)
|
||||
staticDir = cfg.staticDir
|
||||
bindAddr = cfg.address
|
||||
reusePort = true
|
||||
|
||||
routes:
|
||||
get "/":
|
||||
|
|
Loading…
Reference in a new issue