diff options
author | Wolfy-J <[email protected]> | 2018-06-06 18:37:02 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 18:37:02 +0300 |
commit | 63e505bd354378ec3cc11c10881fd816b3cb55f4 (patch) | |
tree | 817418b336854dc00962cfa2de46a9660a053b74 /server_config.go | |
parent | 304b891eec532ca9d8c14f4c605493160a53370b (diff) |
dead functions
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" { |