mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Increase updatePlaylist chunk to 100 tracks
This commit is contained in:
parent
ed1ca65ad5
commit
47549ecfc1
@ -267,7 +267,7 @@ func (r *playlistRepository) updatePlaylist(playlistId string, mediaFileIds []st
|
||||
}
|
||||
|
||||
// Break the track list in chunks to avoid hitting SQLITE_MAX_FUNCTION_ARG limit
|
||||
chunks := utils.BreakUpStringSlice(mediaFileIds, 50)
|
||||
chunks := utils.BreakUpStringSlice(mediaFileIds, 100)
|
||||
|
||||
// Add new tracks, chunk by chunk
|
||||
pos := 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user