From 3a94870db7a7626ed0e6b33cec44b638ec722e21 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 29 Apr 2022 21:22:55 +0200 Subject: [PATCH] Default to a more sensible timeout --- src/danog/MadelineProto/Loop/Update/UpdateLoop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Loop/Update/UpdateLoop.php b/src/danog/MadelineProto/Loop/Update/UpdateLoop.php index a9f9c5852..d95563ce8 100644 --- a/src/danog/MadelineProto/Loop/Update/UpdateLoop.php +++ b/src/danog/MadelineProto/Loop/Update/UpdateLoop.php @@ -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()) {