mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
refactor(plugins): increase work channel capacity for improved playlist processing
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
f9af67d45e
commit
657119fcb3
@ -21,7 +21,7 @@ const (
|
|||||||
FuncPlaylistProviderGetPlaylist = "nd_playlist_provider_get_playlist"
|
FuncPlaylistProviderGetPlaylist = "nd_playlist_provider_get_playlist"
|
||||||
|
|
||||||
// workChCapacity is the buffer size for the work channel.
|
// workChCapacity is the buffer size for the work channel.
|
||||||
workChCapacity = 16
|
workChCapacity = 64
|
||||||
|
|
||||||
// discoveryRetryDelay is how long to wait before retrying a failed GetAvailablePlaylists call.
|
// discoveryRetryDelay is how long to wait before retrying a failed GetAvailablePlaylists call.
|
||||||
discoveryRetryDelay = 5 * time.Minute
|
discoveryRetryDelay = 5 * time.Minute
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user