提交 208dc368 编写于 作者: M Manish Vasani

Ensure that we don't kick off SolutionCrawler's Reanalyze functionality if...

Ensure that we don't kick off SolutionCrawler's Reanalyze functionality if solution crawler is turned off with the option `InternalSolutionCrawlerOptions.SolutionCrawler`.

This is needed for our internal RPS performance tests which intend to turn off solution crawler for certain scenarios to reduce noise from it.
上级 1d4cf98e
......@@ -164,6 +164,12 @@ private void OnOptionChanged(object sender, OptionChangedEventArgs e)
return;
}
if (!_optionService.GetOption(InternalSolutionCrawlerOptions.SolutionCrawler))
{
// Bail out if solution crawler is disabled.
return;
}
ReanalyzeOnOptionChange(sender, e);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册