get SongInfo in parallel
This commit is contained in:
1 parent
caa46763cd
commit
16f4d790de
1 file changed
+1
-1
@@ -628,7 +628,7 @@ namespace Vocaluxe.Base.Server
|
||||
{
|
||||
List<CSong> songs = CSongs.Songs;
|
||||
return (from s in songs
|
||||
select _GetSongInfo(s, false)).ToArray<SSongInfo>();
|
||||
select _GetSongInfo(s, false)).AsParallel().ToArray<SSongInfo>();
|
||||
}
|
||||
|
||||
public static string GetMp3Path(int songId)
|
||||
|
||||
Reference in new issue
Block a user