Skip to contents

rlite configuration settings. Based on the redis_config function but with additional tweaks for rlite. The differences between this configuration and redis_config is that:

Usage

rlite_config(...)

Arguments

...

Arguments passed to redis_config; see that file for more information.

Details

  • RLITE_URL takes precendence over REDIS_URL if both are present (otherwise REDIS_URL will still be used).

  • A host of localhost or 127.0.0.1, which is redis_config's default, will map to a filename of :memory: for a transient in-memory store.

The port entry will be ignored, but the password and db entries will be used if present. path is equivalent to host.