We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12441f5 commit 51fbd96Copy full SHA for 51fbd96
x-pack/plugins/licensing/server/on_pre_response_handler.ts
@@ -17,7 +17,7 @@ export function createOnPreResponseHandler(
17
// Elasticsearch in case the error is due to a change in license information
18
// in Elasticsearch.
19
// https://github.com/elastic/x-pack-kibana/pull/2876
20
- if (res.statusCode >= 400) {
+ if (res.statusCode >= 400 && res.statusCode !== 429) {
21
await refresh();
22
}
23
const license = await license$.pipe(take(1)).toPromise();
0 commit comments