EventIndex: Start the crawler only if it's configured to start.
This commit is contained in:
@@ -120,7 +120,9 @@ export default class EventIndex {
|
||||
if (eventIndexWasEmpty) await addInitialCheckpoints();
|
||||
|
||||
// Start our crawler.
|
||||
this.startCrawler();
|
||||
if (SettingsStore.getValueAt(SettingLevel.DEVICE, 'enableCrawling')) {
|
||||
this.startCrawler();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user