Skip to content

Commit 2ecb086

Browse files
authored
Update logging level and bot configuration parameters
1 parent a37428a commit 2ecb086

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bot.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
logging.StreamHandler()]
5555
)
5656
#logger = logging.getLogger(__name__)
57-
logging.getLogger("pyrogram").setLevel(logging.WARNING)
57+
logging.getLogger("pyrofork").setLevel(logging.WARNING)
5858

5959
class DigitalRenameBot(Client):
6060
def __init__(self):
@@ -65,7 +65,9 @@ def __init__(self):
6565
bot_token=Config.BOT_TOKEN,
6666
workers=200,
6767
plugins={"root": "plugins"},
68-
sleep_threshold=15)
68+
sleep_threshold=5,
69+
max_concurrent_transmissions=50
70+
)
6971

7072

7173
async def start(self):

0 commit comments

Comments
 (0)