Disabled linq2db query cache to see if it helps with out of memory issues

This commit is contained in:
Kwoth
2022-03-24 02:46:27 +01:00
parent 75f0574cc8
commit ad0a9ceb9d
2 changed files with 3 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ using System.Diagnostics;
namespace NadekoBot.Services;
public sealed class StatsService : IStatsService, IReadyExecutor, INService, IDisposable
public sealed class StatsService : IStatsService, IReadyExecutor, INService
{
public const string BOT_VERSION = "4.0.6";
@@ -188,10 +188,4 @@ public sealed class StatsService : IStatsService, IReadyExecutor, INService, IDi
_currentProcess.Refresh();
return _currentProcess.PrivateMemorySize64 / (double)1.MiB();
}
public void Dispose()
{
_currentProcess.Dispose();
GC.SuppressFinalize(this);
}
}