Further cleanup. Moved BackgroundJob Task enqueues into TaskScheduler, so I can have complete control via one interface.
This commit is contained in:
parent
825afd83a2
commit
26660a9bb3
7 changed files with 47 additions and 43 deletions
|
@ -45,7 +45,7 @@ namespace API.Controllers
|
|||
|
||||
if (result)
|
||||
{
|
||||
BackgroundJob.Enqueue(() => _cacheService.CleanupVolumes(volumes));
|
||||
_taskScheduler.CleanupVolumes(volumes);
|
||||
}
|
||||
return Ok(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue