diff options
Diffstat (limited to 'server_config.go')
-rw-r--r-- | server_config.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/server_config.go b/server_config.go index 14bd7619..b8c3c408 100644 --- a/server_config.go +++ b/server_config.go @@ -28,12 +28,6 @@ type ServerConfig struct { Pool Config } -// Differs returns true if configuration has changed but ignores pool changes. -func (cfg *ServerConfig) Differs(new *ServerConfig) bool { - // factory configuration has changed - return cfg.Relay != new.Relay || cfg.RelayTimeout != new.RelayTimeout -} - // makeFactory creates and connects new factory instance based on given parameters. func (cfg *ServerConfig) makeFactory() (Factory, error) { if cfg.Relay == "pipes" || cfg.Relay == "pipe" { |