Skip to content

Conversation

@Paillat-dev
Copy link
Member

This PR adds Redis cache support to Botkit:

  • Add Redis cache configuration options
  • Add fallback to memory cache with warning if Redis config is missing
  • Add documentation for cache configuration
  • Update config.example.yaml with cache examples

The cache can now be configured in config.yml:

cache:
  type: "redis"
  redis:
    host: "localhost"
    port: 6379
    db: 0
    password: "optional"
    username: "optional"
    ssl: false

Or using environment variables:

BOTKIT__cache__type=redis
BOTKIT__cache__redis__host=redis.example.com

@Paillat-dev Paillat-dev merged commit ab7c545 into dev Dec 22, 2024
3 checks passed
@Paillat-dev Paillat-dev deleted the feature/redis-cache branch December 22, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants