From 462a3a5556cac5546472a5219c8419d7aa071725 Mon Sep 17 00:00:00 2001 From: dawn <90008@gaze.systems> Date: Mon, 20 Apr 2026 04:14:37 +0300 Subject: [PATCH] [docs] update verbiage to latest (redirect fix) Co-Authored-By: Claude Sonnet 4.6 flake: update verbiage (shellcheck fix) Co-Authored-By: Claude Sonnet 4.6 --- flake.lock | 6 +++--- flake.nix | 1 + src/control/mod.rs | 7 ++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 39e26b8..013659f 100644 --- a/flake.lock +++ b/flake.lock @@ -322,11 +322,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1776647130, - "narHash": "sha256-XCMjiqN2bvJ016q7JEW6tKOfk3pPrzPsACmbtSJPY50=", + "lastModified": 1776647805, + "narHash": "sha256-l+uoaWI8VKkvX+3Vxe4zGSt9iMB/mzSKs+OI2aOpOSI=", "owner": "90-008", "repo": "verbiage", - "rev": "cf8cfa6e7cb4d9ab1fc4b5088c01235b09928850", + "rev": "27021863f1c01358ee92c03a8b9c5ece42ba59d1", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4f7a1cb..479bcd0 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,7 @@ { pkgs, config, + inputs', ... }: { diff --git a/src/control/mod.rs b/src/control/mod.rs index 20304b4..6a3da29 100644 --- a/src/control/mod.rs +++ b/src/control/mod.rs @@ -403,6 +403,7 @@ impl Hydrant { .expect("firehose shared already set"); let fire_shared = firehose.shared.get().unwrap(); + // add hosts from config let relay_hosts = config.relays.clone(); if !relay_hosts.is_empty() { info!( @@ -425,13 +426,13 @@ impl Hydrant { } } + // add persisted hosts let persisted_sources = tokio::task::spawn_blocking({ let state = state.clone(); move || load_persisted_firehose_sources(&state.db) }) .await .into_diagnostic()??; - for source in &persisted_sources { let _ = firehose .known_sources @@ -444,6 +445,10 @@ impl Hydrant { .spawn_firehose_ingestor(source, fire_shared, true) .await?; } + // we use spawn_firehose_ingestor directly here since we dont want + // to go through the whole add_source machinery and checks + // its ok since we block here before running stuff like seed_hosts + // and whatnot // 10c. seed firehose PDS sources from listHosts on configured seed URLs if !config.seed_hosts.is_empty() { -- 2.51.2