Valkey Settings

Properties

PropertyTypeRequiredDescription
acl_channels_defaultstringnoDetermines default pub/sub channels’ ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn’t affect Valkey configuration acl-pubsub-default.

Allowed values: allchannels, resetchannels.
io_threadsintegernoSet Valkey IO thread count. Changing this will cause a restart of the Valkey service.
lfu_decay_timeintegerno
lfu_log_factorintegerno
maxmemory_policystringnoAllowed values: noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu.
notify_keyspace_eventsstringno
number_of_databasesintegernoSet number of Valkey databases. Changing this will cause a restart of the Valkey service.
persistencestringnoWhen persistence is ‘rdb’, Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is ‘off’, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can’t be forked.

Allowed values: off, rdb.
pubsub_client_output_buffer_limitintegernoSet output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
sslbooleanno
timeoutintegerno
Last updated on