1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 05:40:32 +00:00

fix of build

This commit is contained in:
2025-06-13 14:05:56 +06:00
parent dd0de3b6d4
commit 88fc4fc444
4 changed files with 10 additions and 2 deletions

View File

@@ -46,9 +46,10 @@ class MultipleClientKtorRequestsExecutor(
jsonFormatter: Json,
pipelineStepsHolder: TelegramBotPipelinesHandler,
requestExecutorsCount: Int,
override val Log: KSLog,
logger: KSLog,
clientFactory: () -> HttpClient,
) : BaseRequestsExecutor(telegramAPIUrlsKeeper) {
override val Log: KSLog? = logger
private val requestExecutors = (0 until requestExecutorsCount).map {
DefaultKtorRequestsExecutor(
telegramAPIUrlsKeeper,
@@ -58,7 +59,7 @@ class MultipleClientKtorRequestsExecutor(
requestsLimiter,
jsonFormatter,
pipelineStepsHolder,
Log,
logger,
Unit
)
}.toSet()