Closed zaibon closed 4 years ago
Merging #27 into development will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## development #27 +/- ##
============================================
Coverage 34.10% 34.10%
============================================
Files 10 10
Lines 478 478
============================================
Hits 163 163
Misses 286 286
Partials 29 29
Impacted Files | Coverage Δ | |
---|---|---|
storage/router/pool.go | 3.22% <ø> (ø) |
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 a482f17...2061cfa. Read the comment docs.
The pool configuration requires to have the MaxIdle connection to a number bigger then 1 to allow to reuse connection. Without it a new connection is always created.
This commit allow to have a total of 10 connection in the pool and keep 2 of them open.