From 1332cc6d4015bcba7b5c1f7fb89ae52011fb5366 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 31 Mar 2016 13:15:11 +0100 Subject: [PATCH] Upped the time of #123 --- PlexRequests.Services/PlexAvailabilityChecker.cs | 1 + PlexRequests.Services/UpdateInterval.cs | 2 +- PlexRequests.Store/DbConfiguration.cs | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PlexRequests.Services/PlexAvailabilityChecker.cs b/PlexRequests.Services/PlexAvailabilityChecker.cs index 3c74c37f2..a71b75251 100644 --- a/PlexRequests.Services/PlexAvailabilityChecker.cs +++ b/PlexRequests.Services/PlexAvailabilityChecker.cs @@ -60,6 +60,7 @@ namespace PlexRequests.Services public void CheckAndUpdateAll(long check) { + Log.Trace("This is check no. {0}", check); Log.Trace("Getting the settings"); var plexSettings = Plex.GetSettings(); var authSettings = Auth.GetSettings(); diff --git a/PlexRequests.Services/UpdateInterval.cs b/PlexRequests.Services/UpdateInterval.cs index 876b9e379..92045563a 100644 --- a/PlexRequests.Services/UpdateInterval.cs +++ b/PlexRequests.Services/UpdateInterval.cs @@ -32,7 +32,7 @@ namespace PlexRequests.Services { public class UpdateInterval : IIntervals { - public TimeSpan Notification => TimeSpan.FromMinutes(5); + public TimeSpan Notification => TimeSpan.FromMinutes(10); } } \ No newline at end of file diff --git a/PlexRequests.Store/DbConfiguration.cs b/PlexRequests.Store/DbConfiguration.cs index 467f01ab5..28cd9cb98 100644 --- a/PlexRequests.Store/DbConfiguration.cs +++ b/PlexRequests.Store/DbConfiguration.cs @@ -49,7 +49,7 @@ namespace PlexRequests.Store public virtual bool CheckDb() { Log.Trace("Checking DB"); - Console.WriteLine(CurrentPath); + Console.WriteLine("Location of the database: {0}",CurrentPath); if (!File.Exists(CurrentPath)) { Log.Trace("DB doesn't exist, creating a new one"); @@ -90,7 +90,7 @@ namespace PlexRequests.Store } catch (Exception e) { - Console.WriteLine(e.Message); + Log.Error(e); } } }