Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108777: metricspoller: avoid forever-growing context chain r=dt,knz,miretskiy a=stevendanna logtags.AddTag calls context.WithValue which creates a new context. Further, here we were re-assigning this new context to the original context passed to the Resume function. As a result, I believe that we were ending up with a constantly growing chain of contexts. We believe this is the cause of slowly growing CPU usage. Epic: None Release note (bug fix): Fix bug that could cause CPU usage to increase over time. Co-authored-by: Steven Danna <[email protected]>
- Loading branch information