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

Increase timeout

This commit is contained in:
Daniil Gentili 2023-07-25 19:12:54 +02:00
parent 55e1d2f15f
commit ce857fa26f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

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