Migrated temp file cleanup background task to a hosted service.

This commit is contained in:
Andy Butland
2020-10-31 08:58:47 +01:00
parent 684185f777
commit 4920fba7cb
8 changed files with 271 additions and 113 deletions

View File

@@ -294,6 +294,7 @@ namespace Umbraco.Extensions
{
services.AddHostedService<HealthCheckNotifier>();
services.AddHostedService<KeepAlive>();
services.AddHostedService<TempFileCleanup>();
return services;
}