mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 01:14:39 +01:00
Increase timeout
This commit is contained in:
parent
55e1d2f15f
commit
ce857fa26f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user