laravel icon indicating copy to clipboard operation
laravel copied to clipboard

log cycling

Open xxNpCxx opened this issue 2 years ago • 2 comments

Hey! There is a problem i was found at TelegramFetchCommand.php

while (true) {

    $response = rescue(fn() => $bot->handleGetUpdates($options));

    if ($response !== null && ! $response->isOk()) {
        $this->error($response->getDescription());
    }

}

setting timeout option doesn't delay while response will be ok . It means if you lost connection with db for some time, you got error log cycling.

xxNpCxx avatar Jun 19 '23 03:06 xxNpCxx