When we disable examine indexing on startup with MainDom, also suspend all indexing

This commit is contained in:
Shannon
2017-12-14 16:19:54 +11:00
parent 1ff66d0c3a
commit f44b158c15

View File

@@ -79,6 +79,7 @@ namespace Umbraco.Web
//if we could not register the shutdown examine ourselves, it means we are not maindom! in this case all of examine should be disabled
//from indexing anything on startup!!
_disableExamineIndexing = true;
Suspendable.ExamineEvents.SuspendIndexers();
}
}