mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-30 12:36:00 +02:00
Reduces the cache size for parsed posts.
This commit is contained in:
parent
3495866017
commit
1efef5887a
@ -26,7 +26,7 @@ import com.vitorpamplona.amethyst.commons.RichTextViewerState
|
||||
import com.vitorpamplona.quartz.events.ImmutableListOfLists
|
||||
|
||||
object CachedRichTextParser {
|
||||
val richTextCache = LruCache<String, RichTextViewerState>(200)
|
||||
val richTextCache = LruCache<String, RichTextViewerState>(50)
|
||||
|
||||
fun parseText(
|
||||
content: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user