mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-31 17:02:56 +00:00
replace warning about two bots from LongPolling to DefaultKtorRequestsExecutor
This commit is contained in:
1 parent
74f625a53a
commit
ca7314923e
3 files changed
+12
-9
No files matched your search
-3
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user