kobotoolbox/kobo-install

Unused environment variable(s)?

Closed this issue · 1 comments

Hi,
while setting up a kobotoolbox instance I noticed that the REDIS_LOCK_URL seems unused. I only see it referenced in the kobo-install script within the kobotoolbox org on github. Outside the kobotoolbox I see it referenced in django-template and tg-utils but those seem not referenced by kobotoolbox or enketo..

Is it possible that this is something from the past, and are there more environment variables that need to be cleaned up?

REDIS_LOCK_URL=redis://{% if REDIS_PASSWORD %}:${REDIS_PASSWORD}@{% endif REDIS_PASSWORD %}redis-cache.${PRIVATE_DOMAIN_NAME}:${REDIS_CACHE_PORT}/3

Hello @hansmbakker ,

Indeed, it has been implemented for a long time in kobo-install.

It's for pending PRs in kobocat and kpi.