redis-rb / redis-client

Simple low level client for Redis 6+
MIT License
124 stars 60 forks source link

ArgumentError: unknown keywords: :io_threads_active, :appendonly, :maxmemory, :save #149

Closed nazargulov closed 11 months ago

nazargulov commented 11 months ago

I have custom options for redis settings:

  io_threads_active: yes  # Enable IO threads for read operations
  appendonly: no          # Enable AOF
  maxmemory: 1GB           # Set the maximum memory limit
  save: "" # Disable RDB snapshots

How can I pass them on?

casperisfine commented 11 months ago

These are server settings. They go in the server config file. This repo is a client library.

casperisfine commented 11 months ago

Or you can set them using the CONFIG SET command: https://redis.io/commands/config-set/, but it's best to use the config file.