From 6995b03c70210d7f6c183f9009f30dd17e1d18e7 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Wed, 30 Oct 2024 21:08:33 +0000 Subject: [PATCH] chore: rebuild project due to codegen change --- .../com/braintrustdata/api/core/http/RetryingHttpClient.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/braintrust-java-core/src/main/kotlin/com/braintrustdata/api/core/http/RetryingHttpClient.kt b/braintrust-java-core/src/main/kotlin/com/braintrustdata/api/core/http/RetryingHttpClient.kt index 2ec0f53b..09bb15ae 100755 --- a/braintrust-java-core/src/main/kotlin/com/braintrustdata/api/core/http/RetryingHttpClient.kt +++ b/braintrust-java-core/src/main/kotlin/com/braintrustdata/api/core/http/RetryingHttpClient.kt @@ -2,7 +2,6 @@ package com.braintrustdata.api.core.http import com.braintrustdata.api.core.RequestOptions import com.braintrustdata.api.errors.BraintrustIoException -import com.google.common.util.concurrent.MoreExecutors import java.io.IOException import java.time.Clock import java.time.Duration @@ -116,8 +115,10 @@ private constructor( executeWithRetries(request, requestOptions) } }, - MoreExecutors.directExecutor() - ) + ) { + // Run in the same thread. + it.run() + } .thenCompose(Function.identity()) }