Skip to content

Commit 05950ba

Browse files
committed
dev
1 parent 6639340 commit 05950ba

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Engine/FileDB/FileDB.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections;
32
using System.Collections.Generic;
43
using System.Globalization;
54
using System.IO;

Engine/SyncCron.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async public static Task Torrents()
7272
}
7373
}
7474

75-
FileDB.AddOrUpdate(torrents, cache: false);
75+
FileDB.AddOrUpdate(torrents);
7676

7777
lastsync = root.collections.Last().Value.fileTime;
7878

@@ -104,7 +104,7 @@ async public static Task Torrents()
104104
next: var root = await HttpClient.Get<RootObject>($"{AppInit.conf.syncapi}/sync/torrents?time={lastsync}", timeoutSeconds: 300, MaxResponseContentBufferSize: 100_000_000);
105105
if (root?.torrents != null && root.torrents.Count > 0)
106106
{
107-
FileDB.AddOrUpdate(root.torrents.Select(i => i.value).ToList(), cache: false);
107+
FileDB.AddOrUpdate(root.torrents.Select(i => i.value).ToList());
108108

109109
lastsync = root.torrents.Last().value.updateTime.ToFileTimeUtc();
110110

@@ -172,7 +172,7 @@ async public static Task Spidr()
172172
if (root?.collections != null && root.collections.Count > 0)
173173
{
174174
foreach (var collection in root.collections)
175-
FileDB.AddOrUpdate(collection.Value.torrents.Values, cache: false);
175+
FileDB.AddOrUpdate(collection.Value.torrents.Values);
176176

177177
lastsync_spidr = root.collections.Last().Value.fileTime;
178178

JacRed.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</ItemGroup>
3636

3737
<ItemGroup>
38-
<RuntimeHostConfigurationOption Include="System.GC.HeapCount" Value="80" />
38+
<RuntimeHostConfigurationOption Include="System.GC.HeapCount" Value="60" />
3939
<!--<RuntimeHostConfigurationOption Include="System.GC.HeapHardLimit" Value="600000000" />-->
4040
</ItemGroup>
4141

0 commit comments

Comments
 (0)