MT#6407 mod_sipwise_cluster: remove unused host config

It is not necessary, the hosts of the cluster are discovered using
the info at mod_sipwise_redis_sessions

Change-Id: I684f0d146253408fda6d7248f1953fa6182ca82f
changes/24/824/1
Victor Seva 10 years ago
parent 73fde6ca4c
commit af940bf7fe

@ -24,7 +24,6 @@ local core = {
local cluster_config = {
me = "localhost",
hosts = {},
dialback_secret = nil
};
@ -220,7 +219,6 @@ end
function module.load()
cluster_config = module:get_option("cluster", cluster_config);
cluster.dialback_secret = cluster_config.dialback_secret;
-- TODO check cluster_config.hosts is a set and does not have me
if cluster.dialback_secret then
module:hook("host-activated", set_dialback_secret, 100);
end

Loading…
Cancel
Save