From 6ec8a89e50754e1cf38b0668bbe6be1deee3a346 Mon Sep 17 00:00:00 2001 From: schlaubi Date: Wed, 31 Jan 2024 14:53:59 +0100 Subject: [PATCH] Remove workaround for ktor --- core/src/commonMain/kotlin/builder/kord/KordBuilder.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/commonMain/kotlin/builder/kord/KordBuilder.kt b/core/src/commonMain/kotlin/builder/kord/KordBuilder.kt index e04f44102c3..c9c1cafc536 100644 --- a/core/src/commonMain/kotlin/builder/kord/KordBuilder.kt +++ b/core/src/commonMain/kotlin/builder/kord/KordBuilder.kt @@ -49,8 +49,7 @@ public abstract class BaseKordBuilder internal constructor(public val token: Str val rateLimiter = IdentifyRateLimiter(resources.maxConcurrency, defaultDispatcher) shards.map { DefaultGateway { - // Workaround for: https://github.com/ktorio/ktor/pull/3950#issuecomment-1909088751 -// client = resources.httpClient + client = resources.httpClient identifyRateLimiter = rateLimiter } }