pub fn upsert_channel_in_memory( channels: &mut HashMap<String, Channel>, key: &str, entry: &ChannelEntry, )
Insert or update a channel entry in memory only (no DB write).