Monorepo for Tangled forked from tangled.org/core

knotmirror/resyncer: reuse http.Client for knot reachability checks master

Avoid allocating a new http.Client on every resyncRepo call. http.Client is safe for concurrent use and reusing it enables TCP connection pooling across checks to the same knot. Signed-off-by: Matías Insaurralde <matias@insaurral.de>


+5 -4
1 changed file