mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-06-28 02:31:34 +08:00
refactor: add err var ErrEmptyMessage
This commit is contained in:
@@ -158,7 +158,6 @@ func fixTaskFileExt(task *types.Task, localFilePath string) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: configurable
|
||||
func getTaskThreads(fileSize int64) int {
|
||||
threads := 1
|
||||
if fileSize > 1024*1024*100 {
|
||||
|
||||
Reference in New Issue
Block a user