fix: correct default chunk size

This commit is contained in:
krau
2024-10-12 17:16:51 +08:00
parent 4294966ab7
commit 75f6b444fc
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
threads = 4 # 下载线程数
workers = 4 # 同时下载文件数
[telegram]
token = "" # Bot Token
admins = [777000] # 你的 user_id

View File

@@ -78,7 +78,7 @@ func Init() {
viper.SetDefault("threads", 3)
viper.SetDefault("workers", 3)
viper.SetDefault("chunk_size", 50*1024*1024)
viper.SetDefault("chunk_size", 1024*1024)
viper.SetDefault("temp.base_path", "cache/")
viper.SetDefault("temp.cache_ttl", 3600)