mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
kick off the schedulers once the web app has started (fixes api errors on start)
This commit is contained in:
parent
854bfdd479
commit
39c89647f0
1 changed files with 2 additions and 3 deletions
|
@ -92,9 +92,6 @@ namespace PlexRequests.UI
|
||||||
s.CacheQualityProfiles();
|
s.CacheQualityProfiles();
|
||||||
ConfigureTargets(cn);
|
ConfigureTargets(cn);
|
||||||
|
|
||||||
SetupSchedulers();
|
|
||||||
|
|
||||||
|
|
||||||
if (port == -1)
|
if (port == -1)
|
||||||
port = GetStartupPort();
|
port = GetStartupPort();
|
||||||
|
|
||||||
|
@ -106,6 +103,8 @@ namespace PlexRequests.UI
|
||||||
{
|
{
|
||||||
using (WebApp.Start<Startup>(options))
|
using (WebApp.Start<Startup>(options))
|
||||||
{
|
{
|
||||||
|
SetupSchedulers();
|
||||||
|
|
||||||
Console.WriteLine($"Request Plex is running on the following: http://+:{port}/");
|
Console.WriteLine($"Request Plex is running on the following: http://+:{port}/");
|
||||||
|
|
||||||
if (Type.GetType("Mono.Runtime") != null)
|
if (Type.GetType("Mono.Runtime") != null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue