forked from oxidecomputer/omicron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the LazyTimeseriesClient in Nexus (oxidecomputer#6925)
The `LazyTimeseriesClient` is a vestigial type we've used to connect to ClickHouse on-demand. This is used in Nexus, which may be created and start handling requests that require talking to ClickHouse before the server may be up or reachable. That's obviated by the `qorb` connection pooling we've added in recent commits. But since it's still around, that means we create connection pools _each time_ Nexus handles a timeseries-related request. That leads to exorbitant numbers of connections, almost all of which timeout, but which causes ClickHouse to be unable to handle new connections. This closes oxidecomputer#6923.
- Loading branch information
Showing
3 changed files
with
21 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters