Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache settings are now configurable via envvars #2354

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

pbanaszkiewicz
Copy link
Contributor

This fixes #2350.

Two new envvars can be used: AMY_CACHE_DEFAULT and AMY_CACHE_SELECT2. They should use URL format, for example AMY_CACHE_DEFAULT=redis://127.0.0.1:6379/0?client_class=django_redis.client.DefaultClient for Redis or AMY_CACHE_SELECT2=dbcache://select2_cache_table for DB-based.

@pbanaszkiewicz pbanaszkiewicz added this to the v4.1 milestone Mar 3, 2023
@pbanaszkiewicz pbanaszkiewicz added this to In progress in CI/CD for development branch via automation Mar 3, 2023
@pbanaszkiewicz pbanaszkiewicz self-assigned this Mar 3, 2023
@pbanaszkiewicz pbanaszkiewicz merged commit 506fc83 into develop Mar 6, 2023
CI/CD for development branch automation moved this from In progress to Done Mar 6, 2023
@pbanaszkiewicz pbanaszkiewicz deleted the feature/2350-configurable-amy-cache branch March 6, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Cache configuration should be parametrized through environment variables
2 participants