mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2025-02-24 15:24:03 +08:00
double quota
This commit is contained in:
parent
7155dd3673
commit
1d09449823
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ Websites [supported by youtube-dl](https://ytdl-org.github.io/youtube-dl/support
|
|||
|
||||
I don't have unlimited servers and bandwidth, so I have to make some restrictions.
|
||||
|
||||
**In that case, I added one limitation: 5 GiB per 24 hours for each user. Might change in future**
|
||||
**In that case, I added one limitation: 10 GiB per 24 hours for each user. Might change in future**
|
||||
|
||||
You can choose to become 'VIP' if you really need large traffic. And also, you could always deploy your own bot.
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ TOKEN = os.getenv("TOKEN", "3703WLI")
|
|||
REDIS = os.getenv("REDIS")
|
||||
|
||||
# quota settings
|
||||
QUOTA = os.getenv("QUOTA", 5 * 1024 * 1024 * 1024) # 5G
|
||||
QUOTA = int(os.getenv("QUOTA", 10 * 1024 * 1024 * 1024)) # 10G
|
||||
if os.uname().sysname == "Darwin":
|
||||
QUOTA = 10 * 1024 * 1024 # 10M
|
||||
|
||||
|
|
Loading…
Reference in a new issue