From 731845a52a761b5b838cc839160be85c7f1b0653 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 3 Dec 2024 17:13:00 +0100 Subject: [PATCH] [Synthetics] Revert project payload limit (#202733) ## Summary This went into code by mistake https://github.com/elastic/kibana/pull/202467/files#r1867607838 !! --------- Co-authored-by: Dominique Clarke --- .../server/routes/monitor_cruds/add_monitor_project.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/observability_solution/synthetics/server/routes/monitor_cruds/add_monitor_project.ts b/x-pack/plugins/observability_solution/synthetics/server/routes/monitor_cruds/add_monitor_project.ts index bc55c950a2e81..db8fbdd661f76 100644 --- a/x-pack/plugins/observability_solution/synthetics/server/routes/monitor_cruds/add_monitor_project.ts +++ b/x-pack/plugins/observability_solution/synthetics/server/routes/monitor_cruds/add_monitor_project.ts @@ -14,7 +14,7 @@ import { ProjectMonitor } from '../../../common/runtime_types'; import { SYNTHETICS_API_URLS } from '../../../common/constants'; import { ProjectMonitorFormatter } from '../../synthetics_service/project_monitor/project_monitor_formatter'; -const MAX_PAYLOAD_SIZE = 1048576 * 100; // 20MiB +const MAX_PAYLOAD_SIZE = 1048576 * 50; // 50MiB export const addSyntheticsProjectMonitorRoute: SyntheticsRestApiRouteFactory = () => ({ method: 'PUT',