very fast at protocol indexer with flexible filtering, xrpc queries, cursor-backed event stream, and more, built on fjall
rust fjall at-protocol atproto indexer
58
fork

Configure Feed

Select the types of activity you want to include in your feed.

[ingest,backfill] make ephemeral evt variant be boxed to reduce enum size

dawn b738c536 1e32f8a6

+3 -3
+2 -2
src/ops.rs
··· 49 49 identity: Some(evt), 50 50 account: None, 51 51 }; 52 - BroadcastEvent::Ephemeral(marshallable) 52 + BroadcastEvent::Ephemeral(Box::new(marshallable)) 53 53 } 54 54 55 55 pub fn make_account_event(db: &Db, evt: AccountEvt<'static>) -> BroadcastEvent { ··· 61 61 identity: None, 62 62 account: Some(evt), 63 63 }; 64 - BroadcastEvent::Ephemeral(marshallable) 64 + BroadcastEvent::Ephemeral(Box::new(marshallable)) 65 65 } 66 66 67 67 pub fn delete_repo<'batch>(
+1 -1
src/types.rs
··· 161 161 pub enum BroadcastEvent { 162 162 #[allow(dead_code)] 163 163 Persisted(u64), 164 - Ephemeral(MarshallableEvt<'static>), 164 + Ephemeral(Box<MarshallableEvt<'static>>), 165 165 } 166 166 167 167 #[derive(Debug, Serialize, Clone)]