gReview icon indicating copy to clipboard operation
gReview copied to clipboard

Fetch connections are not closed in when using jgit

Open jl431 opened this issue 8 years ago • 0 comments

FetchConnections are opened but never closed.

I think fetch connections should be closed in a finally block each time it is used within: com.houghtonassociates.bamboo.plugins.dao.jgit.JGitRepository.java

On lines 301, 359 and 385 connections are opened but never closed. It is causing an issue where it occupies a ssh connection until timeout.

jl431 avatar Nov 10 '17 15:11 jl431