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

fix: update delay to 20 seconds in publishPlayingNow for accurate track playback verification

+2 -2
+2 -2
apps/api/src/tealfm/index.ts
··· 22 22 duration: number 23 23 ) { 24 24 try { 25 - // wait 15 seconds to ensure the track is actually being played 26 - await new Promise((resolve) => setTimeout(resolve, 15000)); 25 + // wait 20 seconds to ensure the track is actually being played 26 + await new Promise((resolve) => setTimeout(resolve, 20000)); 27 27 const recentPlays = await getRecentPlays(agent, 5); 28 28 // Check if the track was played in the last 5 plays (verify by MBID and timestamp to avoid duplicates) 29 29 const alreadyPlayed = recentPlays.some((play) => {