From 198690d050cbc5d97f508705684422bdd6ebeb34 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 30 Dec 2024 12:43:10 +0530 Subject: [PATCH] increase timeout --- libs/telemetry/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/telemetry/logger.go b/libs/telemetry/logger.go index ecf11d0ef..ea1233d2b 100644 --- a/libs/telemetry/logger.go +++ b/libs/telemetry/logger.go @@ -44,7 +44,7 @@ func GetLogs(ctx context.Context) []FrontendLog { // Maximum additional time to wait for the telemetry event to flush. We expect the flush // method to be called when the CLI command is about to exist, so this caps the maximum // additional time the user will experience because of us logging CLI telemetry. -var MaxAdditionalWaitTime = 2 * time.Second +var MaxAdditionalWaitTime = 5 * time.Second // We make the API call to the /telemetry-ext endpoint to log the CLI telemetry events // right about as the CLI command is about to exit. The API endpoint can handle