diff --git a/server/AyaNova/biz/JobsBiz.cs b/server/AyaNova/biz/JobsBiz.cs index 45c4cdf4..a612b012 100644 --- a/server/AyaNova/biz/JobsBiz.cs +++ b/server/AyaNova/biz/JobsBiz.cs @@ -409,8 +409,7 @@ namespace AyaNova.Biz { case JobType.Backup: //This is called when on demand only, normal backups are processed above with normal system jobs - await CoreJobBackup.DoWorkAsync(ct, true); - await LogJobAsync(job.GId, $"Completed", ct); + await CoreJobBackup.DoWorkAsync(ct, true); await UpdateJobStatusAsync(job.GId, JobStatus.Completed, ct); break; case JobType.TestWidgetJob: diff --git a/server/AyaNova/generator/CoreJobSweeper.cs b/server/AyaNova/generator/CoreJobSweeper.cs index e2135d3a..7be0d695 100644 --- a/server/AyaNova/generator/CoreJobSweeper.cs +++ b/server/AyaNova/generator/CoreJobSweeper.cs @@ -21,7 +21,7 @@ namespace AyaNova.Biz private static TimeSpan SWEEP_EVERY_INTERVAL = new TimeSpan(0, 30, 0); private static TimeSpan SUCCEEDED_JOBS_DELETE_AFTER_THIS_TIMESPAN = new TimeSpan(14, 0, 0, 0);//14 days private static TimeSpan FAILED_JOBS_DELETE_AFTER_THIS_TIMESPAN = new TimeSpan(14, 0, 0, 0);//14 days (gives people time to notice and look into it) - private static TimeSpan INTERNAL_JOBS_LOGS_DELETE_AFTER_THIS_TIMESPAN = new TimeSpan(0, 0, 10, 0);//14 days + private static TimeSpan INTERNAL_JOBS_LOGS_DELETE_AFTER_THIS_TIMESPAN = new TimeSpan(14, 0, 0, 0);//14 days private static TimeSpan RUNNING_JOBS_BECOME_FAILED_AFTER_THIS_TIMESPAN = new TimeSpan(24, 0, 0);//24 hours (time running jobs are allowed to sit in "running" state before considered failed)