A decentralized music tracking and discovery platform built on AT Protocol 🎵
0
fork

Configure Feed

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

fix: add sleep to prevent overwhelming the database during scrobble insertion

+3
+3
crates/feed/src/sync.rs
··· 139 139 let repo = ddb.clone(); 140 140 repo.insert_scrobble(&did, &scrobble_uri, record).await?; 141 141 142 + // sleep a bit to avoid overwhelming the database 143 + tokio::time::sleep(std::time::Duration::from_millis(100)).await; 144 + 142 145 i += 1; 143 146 } 144 147