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.

feat(server): use unlimited journaling and write buffer size on compact cmd as well

dusk f864854c 55d6b407

+8 -1
+8 -1
server/src/main.rs
··· 227 227 } 228 228 229 229 fn compact() { 230 - let db = Db::new(DbConfig::default(), CancellationToken::new()).expect("couldnt create db"); 230 + let db = Db::new( 231 + DbConfig::default().ks(|c| { 232 + c.max_journaling_size(u64::MAX) 233 + .max_write_buffer_size(u64::MAX) 234 + }), 235 + CancellationToken::new(), 236 + ) 237 + .expect("couldnt create db"); 231 238 let info = db.info().expect("cant get db info"); 232 239 db.major_compact().expect("cant compact"); 233 240 std::thread::sleep(Duration::from_secs(5));