Compare commits

...

2 Commits

Author SHA1 Message Date
krau
75f6b444fc fix: correct default chunk size 2024-10-12 17:16:51 +08:00
krau
4294966ab7 chore: update config exp 2024-10-12 13:38:55 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +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)