diff --git a/.gitignore b/.gitignore index 0a4513b..b40d686 100644 --- a/.gitignore +++ b/.gitignore @@ -136,5 +136,5 @@ dmypy.json /.idea/misc.xml /.idea/workspace.xml /.idea/jsonSchemas.xml -/demo.session +/*.session /.idea/ytdlbot.iml diff --git a/ytdl.py b/ytdl.py index b2e538e..cab70b4 100644 --- a/ytdl.py +++ b/ytdl.py @@ -24,7 +24,7 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(filename)s [%(le api_id = int(os.getenv("APP_ID", 0)) api_hash = os.getenv("APP_HASH") token = os.getenv("TOKEN") -app = Client("ytdl", api_id, api_hash, bot_token=token, workers=20) +app = Client("ytdl", api_id, api_hash, bot_token=token, workers=50) @app.on_message(filters.command(["start"]))