refactor: add err var ErrEmptyMessage

This commit is contained in:
krau
2025-02-24 17:41:36 +08:00
parent a5ba01e219
commit b96340dd46
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {