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

Save is on whatsapp on the database
This commit is contained in:
Davidson Gomes
2024-09-02 09:37:25 -03:00
committed by GitHub
9 changed files with 211 additions and 7 deletions

View File

@@ -36,6 +36,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
@@ -171,6 +173,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.