From d14f4762e161ffb41c32d3df393cf0c70424aebc Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Fri, 29 Nov 2024 02:02:18 +0100 Subject: [PATCH] - --- 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 624ca243c..35b31f9a7 100644 --- a/libs/telemetry/logger.go +++ b/libs/telemetry/logger.go @@ -51,7 +51,7 @@ var MaxAdditionalWaitTime = 2 * 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 // payloads with ~1000 events easily. Thus we log all the events at once instead of -// batching the API calls. +// batching the logs across multiple API calls. func Flush(ctx context.Context, apiClient DatabricksApiClient) { // Set a maximum time to wait for the telemetry event to flush. ctx, _ = context.WithTimeout(ctx, MaxAdditionalWaitTime)