diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-10-07 08:40:36 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-10-07 10:14:26 +0300 |
commit | 125f313fbae3aa0f509a9953cb4f3934b703cd1d (patch) | |
tree | ac9a288d32bbc58c29d440c196f55caa4e88f814 /internal/dontpanic/retry.go | |
parent | 1641ec51fbd5d18a367180a729a3bb5d6cd9dfba (diff) |
service: Plug leakages of connection pools
While some of our service servers get the connection pool injected as
dependency, others construct them ad-hoc. These ad-hoc creations are
never cleaned up though and thus lead to Goroutine leakages.
Fix the leakage by always using the same injected client pool. Luckily,
all callsites do in fact use the same options to construct the pool and
thus we shouldn't see any change in behaviour, except for less
connections being create.
Diffstat (limited to 'internal/dontpanic/retry.go')
0 files changed, 0 insertions, 0 deletions