Closed gos-k closed 1 year ago
If equal max-open-count and threads then it expected to success calling fetch everytime. But sometime too-meny-open-connection is thrown if number of idle-timeout unittest loops (ex. 1000000) increases.
active-count increment if timeout item.
active-count increment only if return object.
Merged, thanks!
Problem
If equal max-open-count and threads then it expected to success calling fetch everytime. But sometime too-meny-open-connection is thrown if number of idle-timeout unittest loops (ex. 1000000) increases.
Cause
active-count increment if timeout item.
Solution
active-count increment only if return object.