add some form of caching to the authorization

This commit is contained in:
Stanley Dimant
2022-08-06 12:33:25 +02:00
parent 8047710b50
commit ad367d7568
9 changed files with 429 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ namespace MareSynchronosServer
}).UseSnakeCaseNamingConvention();
});
services.AddHostedService<FileCleanupService>();
services.AddHostedService<CleanupService>();
services.AddHostedService(provider => provider.GetService<SystemInfoService>());
services.AddHostedService<DiscordBot>();