Browse Source

Enable SO_REUSEPORT for simplier load balancing

Zed 3 năm trước cách đây
mục cha
commit
b5dee25b37
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/nitter.nim

+ 1 - 0
src/nitter.nim

@@ -56,6 +56,7 @@ settings:
   port = Port(cfg.port)
   staticDir = cfg.staticDir
   bindAddr = cfg.address
+  reusePort = true
 
 routes:
   get "/":