Skip to content

Commit

Permalink
Remove max bytes limit. Not needed for index creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Mar 11, 2021
1 parent 924ffec commit b1d9fca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/maps/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,4 @@ export type RawValue = string | number | boolean | undefined | null;

export type FieldFormatter = (value: RawValue) => string | number;

export const MAX_DRAWING_SIZE_BYTES = 10485760; // 10MB
export const INDEX_META_DATA_CREATED_BY = 'maps-drawing-data-ingest';
2 changes: 0 additions & 2 deletions x-pack/plugins/maps/server/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
FONTS_API_PATH,
API_ROOT_PATH,
INDEX_SOURCE_API_PATH,
MAX_DRAWING_SIZE_BYTES,
} from '../common/constants';
import { EMSClient } from '@elastic/ems-client';
import fetch from 'node-fetch';
Expand Down Expand Up @@ -611,7 +610,6 @@ export async function initRoutes(
options: {
body: {
accepts: ['application/json'],
maxBytes: MAX_DRAWING_SIZE_BYTES,
},
},
},
Expand Down

0 comments on commit b1d9fca

Please sign in to comment.