mirror of
https://github.com/openziti/zrok.git
synced 2025-08-15 18:42:32 +02:00
drop 'ListenOptions.MaxConnections' (renamed to ListenOptions.MaxTerminators in upcoming github.com/openziti/sdk-golang release) (#535)
This commit is contained in:
@ -9,7 +9,10 @@ import (
|
||||
)
|
||||
|
||||
func NewListener(shrToken string, root env_core.Root) (edge.Listener, error) {
|
||||
return NewListenerWithOptions(shrToken, root, &ziti.ListenOptions{ConnectTimeout: 30 * time.Second, MaxConnections: 64, WaitForNEstablishedListeners: 1})
|
||||
return NewListenerWithOptions(shrToken, root, &ziti.ListenOptions{
|
||||
ConnectTimeout: 30 * time.Second,
|
||||
WaitForNEstablishedListeners: 1,
|
||||
})
|
||||
}
|
||||
|
||||
func NewListenerWithOptions(shrToken string, root env_core.Root, opts *ziti.ListenOptions) (edge.Listener, error) {
|
||||
|
Reference in New Issue
Block a user