actualize UpdatesPollint
This commit is contained in:
parent
6b701c754e
commit
cb351c53d1
|
@ -21,8 +21,8 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||
): UpdatesPoller {
|
||||
return KtorUpdatesPoller(
|
||||
this,
|
||||
allowedUpdates ?: ALL_UPDATES_LIST,
|
||||
timeoutMillis.toInt() / 1000,
|
||||
allowedUpdates = allowedUpdates ?: ALL_UPDATES_LIST,
|
||||
updatesReceiver = block
|
||||
).also {
|
||||
it.start(scope)
|
||||
|
|
Loading…
Reference in New Issue