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>
when using (only) object store this job doesn't do any scanning anyway,
but all the setup can still be expensive on large setups
Signed-off-by: Robin Appelman <robin@icewind.nl>