Skip to content

Commit 3f02d65

Browse files
bradseilerHenke
andcommitted
Update stale reconciler comment in buzz-relay main.rs
Co-authored-by: Henke <b494f0778682c83a1faae59541cfd2c2d2060dc1d5b3c2dc819fdc529840b8a4@buzz.block.builderlab.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
1 parent e452374 commit 3f02d65

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎crates/buzz-relay/src/main.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,10 +1050,10 @@ async fn run_relay_main(boot: BootTracker) -> anyhow::Result<()> {
10501050
log_discovery_repair_result(discovery_lookback_hours, Ok(Default::default()));
10511051
}
10521052

1053-
// Emit kind:39000/39002 discovery events for channels that exist in the DB
1054-
// but don't have corresponding events (e.g. seeded via direct SQL inserts).
1055-
// Only runs when BUZZ_RECONCILE_CHANNELS=true (dev/CI environments).
1056-
// Production relays create channels through the event pipeline and don't need this.
1053+
// Republish discovery events (kinds 39000–39002) for every channel in the
1054+
// deployment's community that lacks any of them (e.g. seeded via direct
1055+
// SQL inserts). Only runs when BUZZ_RECONCILE_CHANNELS is set (dev/CI);
1056+
// production relays use the lookback sweep above.
10571057
if std::env::var("BUZZ_RECONCILE_CHANNELS").is_ok() {
10581058
let reconcile_state = Arc::clone(&state);
10591059
tokio::spawn(async move {

0 commit comments

Comments
 (0)