Parakeet is a Rust-based Bluesky AppServer aiming to implement most of the functionality required to support the Bluesky client
appview atproto bluesky rust appserver

fix(consumer): mark the tracker as closed when we've finished spawning threads so that the indexer can auto-exit on crash

+2 -3
+2 -3
consumer/src/main.rs
··· 132 132 tracker.spawn(index_transport(index_client, idxc_rx)); 133 133 } 134 134 135 - let tc = tracker.clone(); 136 - tracker.spawn(async move { 135 + tokio::spawn(async move { 137 136 let _ = ctrl_c().await; 138 137 tracing::info!("stopping consumer"); 139 138 stop_tx.send(true).unwrap(); 140 - tc.close(); 141 139 }); 142 140 141 + tracker.close(); 143 142 tracker.wait().await; 144 143 145 144 Ok(())