Closed mikecote closed 1 day ago
Pinging @elastic/response-ops (Team:ResponseOps)
✅ unchanged
To update your PR or re-run it, just comment with:
@elasticmachine merge upstream
Status | Branch | Result |
---|---|---|
✅ | 8.x |
Note: Successful backport PRs will be merged automatically after passing CI.
Please refer to the Backport tool documentation
In this PR, I'm fixing a memory leak that was introduced in https://github.com/elastic/kibana/pull/190093 where every task runner class object wouldn't free up in memory because it subscribed to the
pollIntervalConfiguration$
observable. To fix this, I moved the observable up a class intoTaskPollingLifecycle
which only gets created once on plugin start and then pass down the pollInterval value via a function call the task runner class can call.