Changed remaining background jobs to be either hosted services or real fire and forget + Cleanup + moved classes to the legacy test project, that is only needed there. (#9700)

This commit is contained in:
Bjarke Berg
2021-01-25 09:26:38 +01:00
committed by GitHub
parent 647d6ac5ab
commit c79b31ed2e
29 changed files with 371 additions and 1571 deletions

View File

@@ -123,7 +123,7 @@ namespace Umbraco.Infrastructure.DependencyInjection
() =>
{
var indexRebuilder = factory.GetRequiredService<BackgroundIndexRebuilder>();
indexRebuilder.RebuildIndexes(false, 5000);
indexRebuilder.RebuildIndexes(false, TimeSpan.FromSeconds(5));
}
}
};