Commit cfc2dd3e authored by Eric Wong's avatar Eric Wong Committed by Max Kellermann

Don't try to prune unless we're updating

Pruning is very expensive and we won't need it in the future anyways. This brings startup back to previous speeds (before songvec changes).
parent cce2f93d
......@@ -150,5 +150,6 @@ void readSongInfoIntoList(FILE *fp, struct songvec *sv,
if (song)
insertSongIntoList(sv, song);
if (isUpdatingDB()) /* only needed until we get rid of forked update */
songvec_prune(sv);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment