mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-11-16 03:45:23 +00:00
update workers to 50
This commit is contained in:
parent
5899216a00
commit
42022d3e45
2
.gitignore
vendored
2
.gitignore
vendored
@ -136,5 +136,5 @@ dmypy.json
|
||||
/.idea/misc.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/jsonSchemas.xml
|
||||
/demo.session
|
||||
/*.session
|
||||
/.idea/ytdlbot.iml
|
||||
|
2
ytdl.py
2
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"]))
|
||||
|
Loading…
Reference in New Issue
Block a user