ConversionCacheConfig

@Serializable
data class ConversionCacheConfig(val maxEntries: Int = 500, val saveIntervalSeconds: Int = 300, val filePath: String = "conversion_cache.json")(source)

Constructors

Link copied to clipboard
constructor(maxEntries: Int = 500, saveIntervalSeconds: Int = 300, filePath: String = "conversion_cache.json")

Properties

Link copied to clipboard

Cache file, relative to the plugin data folder

Link copied to clipboard

Upper bound on cached word conversions

Link copied to clipboard

How often the cache is flushed to disk