Performance:deleteSongs() can be to slow when start FixSongs are previous large run

Description

deleteSongs() can be to slow when start FixSongs are previous large run because we delete the contents of the tables, would be much quicker to just drop and recreate.

Particularly bad if just done a large run, because if many files modified deletSongs() as part of reset is run first before anything else (inc loading songs) and can give appearance that SongKong has hung. (Note also only uses a single cpu.)

Environment

None

Status

Assignee

Unassigned

Reporter

IJabz

Labels

None

Forum Username

ijabz

os

None

Components

Fix versions

Affects versions

6.1

Priority

Major
Configure