Cache 10 + 5 scripts in KotlinCacheService
This may be useful for find usages (and inspections that uses it) of declaration from buildSrc which may be used in several scripts
This commit is contained in:
+1
-1
@@ -394,7 +394,7 @@ class KotlinCacheServiceImpl(val project: Project) : KotlinCacheService {
|
||||
|
||||
private val scriptsCacheProvider = CachedValueProvider {
|
||||
CachedValueProvider.Result(
|
||||
object : SLRUCache<Set<KtFile>, ProjectResolutionFacade>(2, 3) {
|
||||
object : SLRUCache<Set<KtFile>, ProjectResolutionFacade>(10, 5) {
|
||||
override fun createValue(files: Set<KtFile>) = createFacadeForFilesWithSpecialModuleInfo(files)
|
||||
},
|
||||
LibraryModificationTracker.getInstance(project),
|
||||
|
||||
Reference in New Issue
Block a user