mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 01:32:55 -07:00
Enforcing async/await in synchronous methods that were marked async.
This commit is contained in:
parent
fa1540717b
commit
a8288a93b0
4 changed files with 5 additions and 1 deletions
|
@ -84,6 +84,8 @@ namespace Ombi.UI.Modules.Admin
|
|||
|
||||
private async Task<Response> ScheduleRun(string key)
|
||||
{
|
||||
await Task.Yield();
|
||||
|
||||
if (key.Equals(JobNames.PlexCacher, StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
PlexContentCacher.CacheContent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue