Skip to content

Misc config

Charset

You can change the charset which is used for string/byteArray conversions like this:

com.dehnes.kotlinredis.redisStringCharset = StandardCharsets.UTF_8

Memory limit

You can change the memory limit which protects your JVM from too large values, when using the non-streaming APIs.

com.dehnes.kotlinredis.redisReadMemoryLimit = 100_000_000 // 100MB