keep source preparation parallel for linear targets

This commit is contained in:
Samuel Cui
2026-08-22 12:27:13 +08:00
parent 202c9d3041
commit 2122425105
2 changed files with 47 additions and 4 deletions
-4
View File
@@ -64,10 +64,6 @@ func (o *option) check() error {
o.fromDevice.check()
o.toDevice.check()
if o.fromDevice.linear || o.toDevice.linear {
o.fromDevice.threads = 1
o.toDevice.threads = 1
}
if o.logger == nil {
o.logger = logrus.StandardLogger()
}