//private RedisQueueSentinel _sentinel; //need this to init() all channels under it public void Init() { if (!Connection.IsConnected) { Connection.Connect(); } //take channel list //itterate through channels foreach (RedisChannel channel in Channels) { int count = 1; Int32.TryParse(channel.Count.ToString(), out count); for (int i = 2; i <= channel.Count; i++) { RedisChannel c = (RedisChannel)channel.Clone(i); Channels = Channels.Concat(new [] { c }); } } foreach (RedisChannel channel in Channels) { channel.Subscribe(); } //initialize and start RedisQueueSentinel if (EnableSentinel) { Sentinel.Start(); } Log.Info("Redis Container Initialized"); }