Upped the time of #123

pull/130/head
tidusjar 9 years ago
parent d6763bf435
commit 1332cc6d40

@ -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…
Cancel
Save