Skip to content

Commit b8e56e5

Browse files
committed
Abort the request to the telemetry cluster after 10 seconds
1 parent 4b43282 commit b8e56e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/platform/plugins/shared/telemetry/public/services/telemetry_service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ export class TelemetryService {
276276
'X-Elastic-Content-Encoding': PAYLOAD_CONTENT_ENCODING,
277277
},
278278
body: stats,
279+
signal: AbortSignal.timeout(10_000),
279280
});
280281
})
281282
);

0 commit comments

Comments
 (0)