mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Deployment.git
synced 2025-11-19 21:08:45 +08:00
fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Snap.Hutao.Deployment.Runtime</id>
|
||||
<version>1.15.1</version>
|
||||
<version>1.15.2</version>
|
||||
<authors>DGP Studio</authors>
|
||||
<developmentDependency>true</developmentDependency>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
|
||||
Binary file not shown.
@@ -58,7 +58,7 @@ internal sealed class HttpShardCopyWorker<TStatus> : IDisposable
|
||||
ShardProgress shardProgress = new(progress, statusFactory, contentLength);
|
||||
ParallelOptions options = new()
|
||||
{
|
||||
MaxDegreeOfParallelism = Math.Clamp(2, Environment.ProcessorCount, 6),
|
||||
MaxDegreeOfParallelism = Math.Clamp(Environment.ProcessorCount, 2, 6),
|
||||
CancellationToken = token,
|
||||
};
|
||||
return Parallel.ForEachAsync(shards, options, (shard, token) => CopyShardAsync(shard, shardProgress, token));
|
||||
|
||||
@@ -24,7 +24,7 @@ internal static partial class Invocation
|
||||
ArgumentException.ThrowIfNullOrEmpty(path);
|
||||
|
||||
Console.WriteLine($"""
|
||||
Snap Hutao Deployment Tool [1.15.1]
|
||||
Snap Hutao Deployment Tool [1.15.2]
|
||||
PackagePath: {path}
|
||||
FamilyName: {name}
|
||||
------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user