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:
commit
8c25a773fe
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user