From e618bf36d4edf28e6f82de72fde436b696d5ebc3 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 28 Jul 2020 20:59:29 +0200 Subject: [PATCH] Remove debug --- src/danog/MadelineProto/Loop/Update/FeedLoop.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/danog/MadelineProto/Loop/Update/FeedLoop.php b/src/danog/MadelineProto/Loop/Update/FeedLoop.php index 68b05822..5480de95 100644 --- a/src/danog/MadelineProto/Loop/Update/FeedLoop.php +++ b/src/danog/MadelineProto/Loop/Update/FeedLoop.php @@ -85,10 +85,6 @@ class FeedLoop extends ResumableSignalLoop return; } } - yield (function (): \Generator { - yield delay(1); - return 1; - })(); $this->state = $this->channelId === self::GENERIC ? yield from $API->loadUpdateState() : $API->loadChannelState($this->channelId); while (true) { while (!$this->API->settings['updates']['handle_updates'] || !$API->hasAllAuth()) {