From d77a60e8a759922efd0ccfdd99612730caa196f0 Mon Sep 17 00:00:00 2001 From: Sergey Stoyanovsky Date: Tue, 5 May 2020 14:55:17 +0300 Subject: [PATCH] [ml-completion] Increase number of recently opened files taken in account by `ngram_recent_files` feature GitOrigin-RevId: f82765fc63d5d44aa3bc23e31bcdad1dcae1f258 --- .../src/com/intellij/completion/ngram/ModelRunnerWithCache.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stats-collector/src/com/intellij/completion/ngram/ModelRunnerWithCache.kt b/plugins/stats-collector/src/com/intellij/completion/ngram/ModelRunnerWithCache.kt index 4112955950a5..769019c36657 100644 --- a/plugins/stats-collector/src/com/intellij/completion/ngram/ModelRunnerWithCache.kt +++ b/plugins/stats-collector/src/com/intellij/completion/ngram/ModelRunnerWithCache.kt @@ -34,7 +34,7 @@ internal class ModelRunnerWithCache(model: Model = JMModel()) : ModelRunner(mode } companion object { - private const val CACHE_SIZE = 5 + private const val CACHE_SIZE = 9 private const val TEXT_RANGE_LIMIT = 16 * 1024 // 32 KB of chars } } \ No newline at end of file