Commit edb0068e authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

remove disconnect threshold argument (#567)

parent f0844278
...@@ -45,7 +45,6 @@ func (c *command) initStartCmd() (err error) { ...@@ -45,7 +45,6 @@ func (c *command) initStartCmd() (err error) {
optionNameTracingEndpoint = "tracing-endpoint" optionNameTracingEndpoint = "tracing-endpoint"
optionNameTracingServiceName = "tracing-service-name" optionNameTracingServiceName = "tracing-service-name"
optionNameVerbosity = "verbosity" optionNameVerbosity = "verbosity"
optionNameDisconnectThreshold = "disconnect-threshold"
optionNameGlobalPinningEnabled = "global-pinning-enable" optionNameGlobalPinningEnabled = "global-pinning-enable"
optionNamePaymentThreshold = "payment-threshold" optionNamePaymentThreshold = "payment-threshold"
optionNamePaymentTolerance = "payment-tolerance" optionNamePaymentTolerance = "payment-tolerance"
...@@ -133,7 +132,6 @@ Welcome to the Swarm.... Bzzz Bzzzz Bzzzz ...@@ -133,7 +132,6 @@ Welcome to the Swarm.... Bzzz Bzzzz Bzzzz
TracingEndpoint: c.config.GetString(optionNameTracingEndpoint), TracingEndpoint: c.config.GetString(optionNameTracingEndpoint),
TracingServiceName: c.config.GetString(optionNameTracingServiceName), TracingServiceName: c.config.GetString(optionNameTracingServiceName),
Logger: logger, Logger: logger,
DisconnectThreshold: c.config.GetUint64(optionNameDisconnectThreshold),
GlobalPinningEnabled: c.config.GetBool(optionNameGlobalPinningEnabled), GlobalPinningEnabled: c.config.GetBool(optionNameGlobalPinningEnabled),
PaymentThreshold: c.config.GetUint64(optionNamePaymentThreshold), PaymentThreshold: c.config.GetUint64(optionNamePaymentThreshold),
PaymentTolerance: c.config.GetUint64(optionNamePaymentTolerance), PaymentTolerance: c.config.GetUint64(optionNamePaymentTolerance),
......
...@@ -85,7 +85,6 @@ type Options struct { ...@@ -85,7 +85,6 @@ type Options struct {
TracingEnabled bool TracingEnabled bool
TracingEndpoint string TracingEndpoint string
TracingServiceName string TracingServiceName string
DisconnectThreshold uint64
GlobalPinningEnabled bool GlobalPinningEnabled bool
PaymentThreshold uint64 PaymentThreshold uint64
PaymentTolerance uint64 PaymentTolerance uint64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment