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

feat: Add redis pool size #2727

Merged
merged 1 commit into from
Oct 22, 2024
Merged

feat: Add redis pool size #2727

merged 1 commit into from
Oct 22, 2024

Conversation

brunomiguelpinto
Copy link
Contributor

@brunomiguelpinto brunomiguelpinto commented Oct 22, 2024

Context

We aim to make the Redis connection pool size for the cache configurable via an environment variable
The default Redis connection pool size is currently set to 5

Description

This PR introduces a new environment variable LAGO_REDIS_CACHE_POOL_SIZE to control the Redis connection pool size for caching. If the environment variable is set, the value will be used as the pool size; if not, it will default to 5.

@brunomiguelpinto brunomiguelpinto self-assigned this Oct 22, 2024
@brunomiguelpinto brunomiguelpinto added the 🐞 Bug Something isn't working label Oct 22, 2024
@brunomiguelpinto brunomiguelpinto marked this pull request as ready for review October 22, 2024 15:13
@brunomiguelpinto brunomiguelpinto merged commit 33a68b2 into main Oct 22, 2024
6 checks passed
@brunomiguelpinto brunomiguelpinto deleted the fix-add-redis-pool-size branch October 22, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants