Skip to content

Commit ca59c05

Browse files
committed
fixed reference size
1 parent 9abaf62 commit ca59c05

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Tetrifact.Core/ArchiveService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private async Task ArchiveDotNetZip(string packageId, string archivePathTemp)
229229
{
230230
// Note : no null check here, we assume DoesPackageExist test above would catch invalid names
231231
Manifest manifest = _indexReader.GetManifest(packageId);
232-
total = manifest.SizeOnDisk;
232+
total = manifest.Size;
233233

234234
using (ZipArchive archive = new ZipArchive(zipStream, ZipArchiveMode.Create, true))
235235
{

src/Tetrifact.Web/Startup.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using System.IO.Abstractions;
1313
using Tetrifact.Core;
1414
using Microsoft.AspNetCore.Server.Kestrel.Core;
15-
using Microsoft.Extensions.Hosting.Internal;
1615

1716
namespace Tetrifact.Web
1817
{
@@ -31,6 +30,8 @@ public Startup(IConfiguration configuration)
3130
/// <param name="services"></param>
3231
public void ConfigureServices(IServiceCollection services)
3332
{
33+
// Note, add time-since-global start signture here, on docker system with presumably many listeners, this
34+
// can take a long time to reach
3435
Console.WriteLine("Configuring services");
3536

3637
services.Configure<CookiePolicyOptions>(options =>

0 commit comments

Comments
 (0)