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

gedis: allow to re-use connections from the pool #588

Merged
merged 2 commits into from
Mar 18, 2020
Merged

gedis: allow to re-use connections from the pool #588

merged 2 commits into from
Mar 18, 2020

Conversation

zaibon
Copy link
Contributor

@zaibon zaibon commented Mar 18, 2020

It turns out that if the MaxIdle is 0, then the connection pool
doesn't allow to keep open connection around. Which mean before this
change, any time we sent a command, we were creating a new connection
from scratch

It turns out that if the MaxIdle is 0, then the connection pool
doesn't allow to keep open connection around. Which mean before this
change, any time we sent a command, we were creating a new connection
from scratch
@codecov
Copy link

codecov bot commented Mar 18, 2020

Codecov Report

Merging #588 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   36.00%   36.00%           
=======================================
  Files          71       71           
  Lines        5255     5255           
=======================================
  Hits         1892     1892           
  Misses       3093     3093           
  Partials      270      270           
Impacted Files Coverage Δ
pkg/gedis/gedis.go 14.28% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c47cd8b...e87b0d0. Read the comment docs.

@zaibon zaibon merged commit 038741c into master Mar 18, 2020
@zaibon zaibon deleted the gedis_pool branch March 18, 2020 12:16
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