Implemented a startup task that will instantiate all the DI so first API isn't having to eat that overhead.
This commit is contained in:
parent
983078de02
commit
6e6e5ee9f2
7 changed files with 100 additions and 7 deletions
|
|
@ -39,9 +39,9 @@ namespace API.Services
|
|||
_cleanupService = cleanupService;
|
||||
_directoryService = directoryService;
|
||||
|
||||
|
||||
//Hangfire.RecurringJob.RemoveIfExists();
|
||||
ScheduleTasks();
|
||||
//JobStorage.Current.GetMonitoringApi().
|
||||
//JobStorage.Current.GetMonitoringApi().EnqueuedJobs()
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue