elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.83k stars 8.21k forks source link

[Actions] Should this promise be retried? #182262

Open afharo opened 6 months ago

afharo commented 6 months ago

The promise below might fail in case there's a glitch in ES connection and never retry.

https://github.com/elastic/kibana/blob/f2ded98623bf9754d91b7e16541c752cb4452310/x-pack/plugins/actions/server/plugin.ts#L583-L594

Is that OK? Should we apply any retry logic?

If we want to retry, p-retry could be a useful utility that's already present in the project.

elasticmachine commented 6 months ago

Pinging @elastic/response-ops (Team:ResponseOps)