mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Upped the time of #123
This commit is contained in:
parent
d6763bf435
commit
1332cc6d40
3 changed files with 4 additions and 3 deletions
|
@ -60,6 +60,7 @@ namespace PlexRequests.Services
|
||||||
|
|
||||||
public void CheckAndUpdateAll(long check)
|
public void CheckAndUpdateAll(long check)
|
||||||
{
|
{
|
||||||
|
Log.Trace("This is check no. {0}", check);
|
||||||
Log.Trace("Getting the settings");
|
Log.Trace("Getting the settings");
|
||||||
var plexSettings = Plex.GetSettings();
|
var plexSettings = Plex.GetSettings();
|
||||||
var authSettings = Auth.GetSettings();
|
var authSettings = Auth.GetSettings();
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace PlexRequests.Services
|
||||||
{
|
{
|
||||||
public class UpdateInterval : IIntervals
|
public class UpdateInterval : IIntervals
|
||||||
{
|
{
|
||||||
public TimeSpan Notification => TimeSpan.FromMinutes(5);
|
public TimeSpan Notification => TimeSpan.FromMinutes(10);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -49,7 +49,7 @@ namespace PlexRequests.Store
|
||||||
public virtual bool CheckDb()
|
public virtual bool CheckDb()
|
||||||
{
|
{
|
||||||
Log.Trace("Checking DB");
|
Log.Trace("Checking DB");
|
||||||
Console.WriteLine(CurrentPath);
|
Console.WriteLine("Location of the database: {0}",CurrentPath);
|
||||||
if (!File.Exists(CurrentPath))
|
if (!File.Exists(CurrentPath))
|
||||||
{
|
{
|
||||||
Log.Trace("DB doesn't exist, creating a new one");
|
Log.Trace("DB doesn't exist, creating a new one");
|
||||||
|
@ -90,7 +90,7 @@ namespace PlexRequests.Store
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Console.WriteLine(e.Message);
|
Log.Error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue