Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit b0d05f5

Browse files
committed
Increase default connection limit to 200
Improvements in resource consumption in larger clusters mean we can raise this limit.
1 parent 4a5d203 commit b0d05f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prog/weave-kube/launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
2929
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
3030
METRICS_ADDR=${WEAVE_METRICS_ADDR:-0.0.0.0:6782}
3131
HOST_ROOT=${HOST_ROOT:-/host}
32-
CONN_LIMIT=${CONN_LIMIT:-100}
32+
CONN_LIMIT=${CONN_LIMIT:-200}
3333
DB_PREFIX=${DB_PREFIX:-/weavedb/weave-net}
3434

3535
# Check if the IP range overlaps anything existing on the host

prog/weaver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func main() {
188188
mflag.StringVar(&logLevel, []string{"-log-level"}, "info", "logging level (debug, info, warning, error)")
189189
mflag.BoolVar(&pktdebug, []string{"-pkt-debug"}, false, "enable per-packet debug logging")
190190
mflag.StringVar(&prof, []string{"-profile"}, "", "enable profiling and write profiles to given path")
191-
mflag.IntVar(&config.ConnLimit, []string{"-conn-limit"}, 100, "connection limit (0 for unlimited)")
191+
mflag.IntVar(&config.ConnLimit, []string{"-conn-limit"}, 200, "connection limit (0 for unlimited)")
192192
mflag.BoolVar(&noDiscovery, []string{"-no-discovery"}, false, "disable peer discovery")
193193
mflag.IntVar(&bufSzMB, []string{"-bufsz"}, 8, "capture buffer size in MB")
194194
mflag.IntVar(&bridgeConfig.MTU, []string{"-mtu"}, 0, "MTU size")

0 commit comments

Comments
 (0)