Skip to content

Commit

Permalink
Merge pull request #91 from kobotoolbox/with-lock-mechanism
Browse files Browse the repository at this point in the history
Added environment variable for Redis Lock mechanism for cron tasks
  • Loading branch information
jnm authored Jun 9, 2020
2 parents f4a9b31 + c492dbd commit 1c924a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/kobo-deployments/envfiles/databases.txt.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ ${USE_BACKUP}POSTGRES_BACKUP_SCHEDULE=${POSTGRES_BACKUP_SCHEDULE}
${USE_BACKUP}REDIS_BACKUP_SCHEDULE=${REDIS_BACKUP_SCHEDULE}

REDIS_SESSION_URL=redis://:${REDIS_PASSWORD_URL_ENCODED}@redis-cache.${PRIVATE_DOMAIN_NAME}:${REDIS_CACHE_PORT}/2
REDIS_LOCK_URL=redis://:${REDIS_PASSWORD_URL_ENCODED}@redis-cache.${PRIVATE_DOMAIN_NAME}:${REDIS_CACHE_PORT}/3
REDIS_PASSWORD=${REDIS_PASSWORD}

0 comments on commit 1c924a9

Please sign in to comment.