From 0549fd72006c7d6af9aa85754f4814d115b8530b Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Tue, 19 Nov 2019 05:00:53 +0500 Subject: [PATCH] increase the connection pool size --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 0a248e3..d3f4674 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -437,7 +437,7 @@ myrandom = MyRandom() class TgConnectionPool: - MAX_CONNS_IN_POOL = 4 + MAX_CONNS_IN_POOL = 64 def __init__(self): self.pools = {}