mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 01:14:39 +01:00
Default to a more sensible timeout
This commit is contained in:
parent
d440d961bf
commit
3a94870db7
@ -78,7 +78,7 @@ class UpdateLoop extends ResumableSignalLoop
|
||||
}
|
||||
}
|
||||
$this->state = $state = $this->channelId === self::GENERIC ? yield from $API->loadUpdateState() : $API->loadChannelState($this->channelId);
|
||||
$timeout = 1;
|
||||
$timeout = 10;
|
||||
$first = true;
|
||||
while (true) {
|
||||
while (!$API->hasAllAuth()) {
|
||||
|
Loading…
Reference in New Issue
Block a user