perf: reduce time on conflict loop detection
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 13s
repod / php (push) Successful in 40s
repod / nodejs (push) Has been cancelled

This commit is contained in:
Michel Roux 2024-10-24 00:35:52 +02:00
parent 4f412c23c0
commit 60668a7e18

View File

@ -33,7 +33,7 @@ export const usePlayer = defineStore('player', {
audio.ontimeupdate = () => (this.currentTime = audio.currentTime)
audio.onvolumechange = () => (this.volume = audio.volume)
setInterval(this.loop, 4000)
setInterval(this.loop, 2000)
},
loop() {
this.playCount = 0