tracks lexicons and how many times they appeared on the jetstream
3
fork

Configure Feed

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

fix(server): actually sync on migrate lol

dusk 4e1f68a4 ebeab2a7

+2 -1
+2 -1
server/src/main.rs
··· 150 150 let mut total_count = 0_u64; 151 151 for nsid in from.get_nsids() { 152 152 tracing::info!("migrating {} ...", nsid.deref()); 153 - for hit in from.get_hits(&nsid, ..).expect("cant read hits") { 153 + for hit in from.get_hits(&nsid, ..) { 154 154 let (timestamp, data) = hit.expect("cant read event"); 155 155 to.record_event(EventRecord { 156 156 nsid: nsid.to_smolstr(), ··· 162 162 } 163 163 } 164 164 165 + to.sync(true).expect("cant sync"); 165 166 tracing::info!("migrated {total_count} events!"); 166 167 }