aturi indexer with listRecords and countRecords endpoints
1
fork

Configure Feed

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

dont log indexing

dawn 8c2ff8f4 d39982d3

+3 -3
+3 -3
src/main.rs
··· 103 103 104 104 match rec.action { 105 105 RecordAction::Create => { 106 - info!("creating {} {} {}", rec.did, rec.collection, rec.rkey); 106 + // info!("creating {} {} {}", rec.did, rec.collection, rec.rkey); 107 107 records.insert(&key, &[])?; 108 108 increment_count(counts, strip_did_prefix(&rec.did), &rec.collection)?; 109 109 } 110 110 RecordAction::Update => { 111 - info!("updating {} {} {}", rec.did, rec.collection, rec.rkey); 111 + // info!("updating {} {} {}", rec.did, rec.collection, rec.rkey); 112 112 records.insert(&key, &[])?; 113 113 } 114 114 RecordAction::Delete => { 115 - info!("deleting {} {} {}", rec.did, rec.collection, rec.rkey); 115 + // info!("deleting {} {} {}", rec.did, rec.collection, rec.rkey); 116 116 records.remove(&key)?; 117 117 decrement_count(counts, strip_did_prefix(&rec.did), &rec.collection)?; 118 118 }