@moirae/redis
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

@moirae/redis

A cache provider for Moirae leveraging Redis.

Configuration

{
  /**
   * Connection parameters for the underlying `redis` library
   */
  redis: RedisClientOptions;
  /**
   * Namespace root that prefixes all elements of the cache
   */
  namespaceRoot: string;
  /**
   * Duration in seconds to persist transaction information in the redis cache
   * after last interaction.
   *
   * @default 172800 (48hrs)
   */
  transactionCacheDuration?: number;
  type: "redis";
}

Readme

Keywords

none

Package Sidebar

Install

npm i @moirae/redis

Weekly Downloads

1

Version

0.6.0

License

MIT

Unpacked Size

315 kB

Total Files

28

Last publish

Collaborators

  • chance-admin