only run the background scanner for users that have unscanned files
instead of looping trough all users and seeing if they have unscanned files, we do a single query to find all storages that need scanning and run trough the users for them
Signed-off-by:
Robin Appelman <robin@icewind.nl>
Please register or sign in to comment