replace warning about two bots from LongPolling to DefaultKtorRequestsExecutor

This commit is contained in:
InsanusMokrassar committed 2023-11-26 13:37:49 +06:00
1 parent 74f625a53a
commit ca7314923e
3 files changed
+12 -9

No files matched your search

@@ -114,9 +114,6 @@ fun TelegramBot.longPollingFlow(
if (e is RequestException) {
delay(1000L)
}
if (e is GetUpdatesConflict && (exceptionsHandler == null || exceptionsHandler == defaultSafelyExceptionHandler)) {
println("Warning!!! Other bot with the same bot token requests updates with getUpdate in parallel")
}
}
) {
execute(