Merge pull request #18 from judsonjuniorr/v2-is-on-whatsapp-cache

V2 is on whatsapp cache
This commit is contained in:
Judson Junior
2024-08-30 10:38:55 -03:00
committed by GitHub
8 changed files with 191 additions and 7 deletions

View File

@@ -37,6 +37,8 @@ DATABASE_SAVE_DATA_CONTACTS=true
DATABASE_SAVE_DATA_CHATS=true
DATABASE_SAVE_DATA_LABELS=true
DATABASE_SAVE_DATA_HISTORIC=true
DATABASE_SAVE_IS_ON_WHATSAPP=true
DATABASE_SAVE_IS_ON_WHATSAPP_DAYS=7
# RabbitMQ - Environment variables
RABBITMQ_ENABLED=false
@@ -172,6 +174,7 @@ DIFY_ENABLED=false
# Redis Cache enabled
CACHE_REDIS_ENABLED=true
CACHE_REDIS_URI=redis://localhost:6379/6
CACHE_REDIS_TTL=604800
# Prefix serves to differentiate data from one installation to another that are using the same redis
CACHE_REDIS_PREFIX_KEY=evolution
# Enabling this variable will save the connection information in Redis and not in the database.