From b2e0bcb76cd21cf77c8fe51e71b058b689c456a1 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Fri, 12 Jun 2020 16:10:23 +0100 Subject: [PATCH] updating default values --- .../jobs_list/components/edit_job_flyout/edit_job_flyout.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js index 574a7efe7792a..3508d69ee2212 100644 --- a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js +++ b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js @@ -48,8 +48,8 @@ export class EditJobFlyoutUI extends Component { jobDescription: '', jobGroups: [], jobModelMemoryLimit: '', - jobModelSnapshotRetentionDays: 1, - jobDailyModelSnapshotRetentionAfterDays: 1, + jobModelSnapshotRetentionDays: 10, + jobDailyModelSnapshotRetentionAfterDays: 10, jobDetectors: [], jobDetectorDescriptions: [], jobCustomUrls: [], @@ -134,7 +134,7 @@ export class EditJobFlyoutUI extends Component { : ''; const modelSnapshotRetentionDays = - job.model_snapshot_retention_days !== undefined ? job.model_snapshot_retention_days : 1; + job.model_snapshot_retention_days !== undefined ? job.model_snapshot_retention_days : 10; const dailyModelSnapshotRetentionAfterDays = job.daily_model_snapshot_retention_after_days !== undefined