U4-6320 - fix default scrubbing interval, set to 4hrs

This commit is contained in:
Stephan
2015-03-16 09:16:28 +01:00
parent 3ee4234968
commit a44b19da18

View File

@@ -82,7 +82,7 @@ namespace Umbraco.Web.Scheduling
private int GetLogScrubbingInterval(IUmbracoSettingsSection settings)
{
int interval = 24 * 60 * 60; //24 hours
var interval = 4 * 60 * 60 * 1000; // 4 hours, in milliseconds
try
{
if (settings.Logging.CleaningMiliseconds > -1)
@@ -90,7 +90,7 @@ namespace Umbraco.Web.Scheduling
}
catch (Exception e)
{
LogHelper.Error<Scheduler>("Unable to locate a log scrubbing interval. Defaulting to 24 horus", e);
LogHelper.Error<Scheduler>("Unable to locate a log scrubbing interval. Defaulting to 4 hours.", e);
}
return interval;
}