U4-6320 - fix default scrubbing interval, set to 4hrs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user