mirror of
https://github.com/openziti/zrok.git
synced 2026-09-24 07:35:05 -05:00
13 lines
248 B
Go
13 lines
248 B
Go
package util
|
|
|
|
import (
|
|
"github.com/openziti/sdk-golang/ziti"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func EnableSuperNetwork(zCfg *ziti.Config) {
|
|
zCfg.MaxControlConnections = 2
|
|
zCfg.MaxDefaultConnections = 1
|
|
logrus.Warnf("super networking enabled")
|
|
}
|