Skip to content

Commit b7ef286

Browse files
authored
Merge pull request #3106 from rommapp/copilot/fix-auto-library-scan-issue
Fix: filesystem watcher and scheduled scan skip when no metadata sources configured
2 parents fa94e95 + 0c1ea31 commit b7ef286

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/tasks/scheduled/scan_library.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ async def run(self) -> dict[str, str]:
5656
metadata_sources = [source for source, flag in source_mapping.items() if flag]
5757
if not metadata_sources:
5858
log.warning("No metadata sources enabled, unscheduling library scan")
59-
self.unschedule()
6059
return scan_stats.to_dict()
6160

6261
log.info("Scheduled library scan started...")

0 commit comments

Comments
 (0)