fix: correct default chunk size
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
threads = 4 # 下载线程数
|
||||
workers = 4 # 同时下载文件数
|
||||
|
||||
[telegram]
|
||||
token = "" # Bot Token
|
||||
admins = [777000] # 你的 user_id
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user