1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:58:59 +01:00

Merge branch 'danog:v8' into v8

This commit is contained in:
Mahdi 2023-07-25 23:55:40 +03:30 committed by GitHub
commit 8c25a773fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,7 +311,7 @@ final class API extends AbstractAPI
$this->session, $this->session,
$settings, $settings,
$forceFull $forceFull
)->await(Tools::getTimeoutCancellation(3.0)); )->await(Tools::getTimeoutCancellation(30.0));
} catch (CancelledException $e) { } catch (CancelledException $e) {
if (!$e->getPrevious() instanceof TimeoutException) { if (!$e->getPrevious() instanceof TimeoutException) {
throw $e; throw $e;