Few server fixes

This commit is contained in:
Timothy Baldridge 2021-03-04 05:50:40 -07:00
parent 278bfec349
commit 12395dbf00
3 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,7 @@ namespace Wabbajack.BuildServer
//await LogRequest(metricsKey);
if (metricsKey != default)
{
await _keyCache.AddKey(metricsKey);
if (await _sql.IsTarKey(metricsKey))
{
await _sql.IngestMetric(new Metric

View File

@ -41,7 +41,7 @@ namespace Wabbajack.Server.Services
bool isValid = false;
switch (archive.State)
{
case WabbajackCDNDownloader.State _:
//case WabbajackCDNDownloader.State _:
//case GoogleDriveDownloader.State _: // Let's try validating Google again 2/10/2021
case ManualDownloader.State _:
case ModDBDownloader.State _:

View File

@ -144,7 +144,7 @@ namespace Wabbajack.Server
app.UseService<MirrorQueueService>();
app.UseService<Watchdog>();
app.UseService<DiscordFrontend>();
app.UseService<AuthoredFilesCleanup>();
//app.UseService<AuthoredFilesCleanup>();
app.UseService<MetricsKeyCache>();
app.Use(next =>