A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
98
fork

Configure Feed

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

fix: reduce sleep duration to 600ms to optimize database insertion during scrobble sync

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