Cache unchanging telemetry data

Might make sense to cache the rest as well, and evict from the cache
periodically.  For now this is enough to fix a hang I often see in our
deployment of Coder.  Might only be surfacing now because new telemetry
calls were added to startup.
This commit is contained in:
Asher
2024-06-12 15:09:45 -08:00
parent e7ca9cd6ac
commit a73549539b
2 changed files with 45 additions and 22 deletions

View File

@@ -22,6 +22,13 @@ Code v99.99.999
## Unreleased
Code v1.90.0
### Fixed
- Cache a call to get CPU information used in telemetry that could result in a
lack responsiveness if it was particularly slow.
## [4.90.0](https://github.com/coder/code-server/releases/tag/v4.90.0) - 2024-06-11
Code v1.90.0