mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-02 11:05:38 +02:00
fix(go): widen lyrics priority grace to 5s so priority provider wins
Apple Music (priority) was losing to LRCLIB when slightly slower than the 1.2s grace window. Widen to 5s so a slower priority provider still wins, while still bounding the wait if it hangs/fails.
This commit is contained in:
@@ -23,7 +23,7 @@ const (
|
||||
const (
|
||||
lyricsProviderUnavailableCooldown = 10 * time.Minute
|
||||
lyricsProviderParallelism = 3
|
||||
lyricsProviderPriorityGrace = 1200 * time.Millisecond
|
||||
lyricsProviderPriorityGrace = 5000 * time.Millisecond
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user