static void Remove(RemoveInstructions instructions, bool local) { if (instructions.Keys == null) return; //if (Config.Cluster.Current.Enabled && local) //{ // Mubble.MessageQueue.Manager.Send("mubble", instructions); //} //else //{ foreach (string key in instructions.Keys) { HttpRuntime.Cache.Remove(key); } //} }
static void Remove(RemoveInstructions instructions) { bool local = string.Equals( Environment.MachineName, instructions.Origin, StringComparison.CurrentCultureIgnoreCase ); if (!local) { Remove(instructions, local); } }