Skip to content

Commit 4820890

Browse files
SONARPY-881 Support medium-size projects accurate analysis in SonarLint (increase 'sonar.python.sonarlint.indexing.maxlines' default value to 200K) (#952)
1 parent 46ba21e commit 4820890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar-python-plugin/src/main/java/org/sonar/plugins/python/indexer/SonarLintPythonIndexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class SonarLintPythonIndexer extends PythonIndexer implements ModuleFileL
4242
private final Map<String, InputFile> indexedFiles = new HashMap<>();
4343
private static final Logger LOG = Loggers.get(SonarLintPythonIndexer.class);
4444
private boolean shouldBuildProjectSymbolTable = true;
45-
private static final long DEFAULT_MAX_LINES_FOR_INDEXING = 150_000;
45+
private static final long DEFAULT_MAX_LINES_FOR_INDEXING = 200_000;
4646
private static final String MAX_LINES_PROPERTY = "sonar.python.sonarlint.indexing.maxlines";
4747

4848
public SonarLintPythonIndexer(ModuleFileSystem moduleFileSystem) {

0 commit comments

Comments
 (0)