mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Few server fixes
This commit is contained in:
parent
278bfec349
commit
12395dbf00
@ -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
|
||||||
|
@ -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 _:
|
||||||
|
@ -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 =>
|
||||||
|
Loading…
Reference in New Issue
Block a user