mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-06-07 00:19:58 +08:00
feat: configurable parser and refactor config
This commit is contained in:
@@ -100,7 +100,7 @@ func (t *Telegram) Save(ctx context.Context, r io.Reader, storagePath string) er
|
||||
}
|
||||
upler := uploader.NewUploader(tctx.Raw).
|
||||
WithPartSize(tglimit.MaxUploadPartSize).
|
||||
WithThreads(config.Cfg.Threads)
|
||||
WithThreads(config.C().Threads)
|
||||
|
||||
var file tg.InputFileClass
|
||||
size := func() int64 {
|
||||
|
||||
Reference in New Issue
Block a user