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(redis): Allow configuring Redis pools individually #3843

Merged
merged 22 commits into from
Jul 24, 2024

Conversation

loewenheim
Copy link
Contributor

Implements #3829.

@loewenheim loewenheim self-assigned this Jul 19, 2024
@loewenheim loewenheim marked this pull request as ready for review July 22, 2024 11:31
@loewenheim loewenheim requested a review from a team as a code owner July 22, 2024 11:31
@loewenheim loewenheim marked this pull request as draft July 22, 2024 14:57
@loewenheim loewenheim marked this pull request as ready for review July 23, 2024 10:02
@loewenheim loewenheim requested a review from Dav1dde July 23, 2024 10:03
@loewenheim loewenheim changed the title WIP: feat(redis): Allow configuring Redis pools individually feat(redis): Allow configuring Redis pools individually Jul 23, 2024
relay-server/src/service.rs Outdated Show resolved Hide resolved
relay-config/src/redis.rs Outdated Show resolved Hide resolved
relay-config/src/redis.rs Outdated Show resolved Hide resolved
relay-server/src/services/stats.rs Outdated Show resolved Hide resolved
relay-server/src/services/stats.rs Show resolved Hide resolved
relay-server/src/services/processor.rs Outdated Show resolved Hide resolved
relay-config/src/redis.rs Show resolved Hide resolved
@loewenheim loewenheim requested a review from Dav1dde July 23, 2024 14:23
@loewenheim loewenheim merged commit 4594b39 into master Jul 24, 2024
23 checks passed
@loewenheim loewenheim deleted the loewenheim/redis-pools branch July 24, 2024 09:49
Dav1dde added a commit that referenced this pull request Jul 24, 2024
loewenheim added a commit that referenced this pull request Aug 1, 2024
Second attempt at #3843.
Implements #3829.

This time around, if there is only one Redis pool configuration, we only
create one pool and clone it 4 ways (instead of creating 4 identical
pools like last time). This means that the case of only one
configuration preserves the current behavior, modulo the bug fix related
to `DEFAULT_MIN_MAX_CONNECTIONS`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants