···853853 pub max_concurrent_repo_exports: usize,
854854855855 /// List of relay / crawler notification URLs.
856856- #[config(env = "CRAWLERS", parse_env = split_comma_list)]
857857- pub crawlers: Option<Vec<String>>,
858858-}
856856+ #[config(env = "CRAWLERS", parse_env = split_comma_list, default = [
857857+ // If you know of more relays it makes sense to have here by all means make a PR!
858858+ // All we request is that you only add "major" relays.
859859+ // What exactly "major" means is up to interpretation and we will make the final call,
860860+ // but a good rule of thumb is "most people are likely to add the relay if they know about it"
859861860860-impl FirehoseConfig {
861861- /// Returns the list of crawler URLs, falling back to `["https://bsky.network"]`
862862- /// when none are configured.
863863- pub fn crawler_list(&self) -> Vec<String> {
864864- self.crawlers
865865- .clone()
866866- .unwrap_or_else(|| vec!["https://bsky.network".to_string()])
867867- }
862862+ // Microcosm relays
863863+ "https://relay.fire.hose.cam",
864864+ "https://relay3.fr.hose.cam",
865865+ // PBC relay
866866+ "https://bsky.network",
867867+ // firehose.network relays
868868+ "https://northamerica.firehose.network",
869869+ "https://europe.firehose.network",
870870+ "https://asia.firehose.network",
871871+ // Blacksky relay
872872+ "https://atproto.africa",
873873+ // UpCloud relay
874874+ "https://relay.upcloud.world",
875875+ ])]
876876+ pub crawlers: Vec<String>,
868877}
869878870879#[derive(Debug, Config)]