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); //await LogRequest(metricsKey);
if (metricsKey != default) if (metricsKey != default)
{ {
await _keyCache.AddKey(metricsKey);
if (await _sql.IsTarKey(metricsKey)) if (await _sql.IsTarKey(metricsKey))
{ {
await _sql.IngestMetric(new Metric await _sql.IngestMetric(new Metric

View File

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

View File

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