stuff
This commit is contained in:
parent
2010bb1275
commit
5c8ccafd27
@ -18,7 +18,7 @@ class MtProtoTask(AsyncTask, abc.ABC):
|
||||
return 1e9
|
||||
|
||||
except RPCError as error:
|
||||
return False if abs(error.CODE) < 500 else 1e9 * 2
|
||||
return False if abs(error.CODE) < 500 else 2e9
|
||||
|
||||
async def _setup(self) -> bool:
|
||||
return await self._execute(super()._setup)
|
||||
|
Loading…
Reference in New Issue
Block a user