Skip to content

Commit

Permalink
removing force fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Sep 17, 2020
1 parent a463c75 commit 4845c36
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/plugins/data/public/search/expressions/esaggs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export interface RequestHandlerParams {
indexPattern?: IIndexPattern;
query?: Query;
filters?: Filter[];
forceFetch: boolean;
filterManager: FilterManager;
uiState?: PersistedState;
partialRows?: boolean;
Expand All @@ -79,7 +78,6 @@ const handleCourierRequest = async ({
indexPattern,
query,
filters,
forceFetch,
partialRows,
metricsAtAllLevels,
inspectorAdapters,
Expand Down Expand Up @@ -274,7 +272,6 @@ export const esaggs = (): EsaggsExpressionFunctionDefinition => ({
query: get(input, 'query', undefined) as any,
filters: get(input, 'filters', undefined),
timeFields: args.timeFields,
forceFetch: true,
metricsAtAllLevels: args.metricsAtAllLevels,
partialRows: args.partialRows,
inspectorAdapters: inspectorAdapters as Adapters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export function getTimelionRequestHandler({
filters: Filter[];
query: Query;
visParams: VisParams;
forceFetch?: boolean;
}): Promise<TimelionSuccessResponse> {
const expression = visParams.expression;

Expand Down
1 change: 0 additions & 1 deletion src/plugins/vis_type_timelion/public/timelion_vis_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export const getTimelionVisualizationConfig = (
query: get(input, 'query') as Query,
filters: get(input, 'filters') as Filter[],
visParams,
forceFetch: true,
});

response.visType = TIMELION_VIS_NAME;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export const visualization = (): ExpressionFunctionVisualization => ({
uiState,
inspectorAdapters,
queryFilter: getFilterManager(),
forceFetch: true,
aggs,
});
}
Expand Down

0 comments on commit 4845c36

Please sign in to comment.