Skip to content

Commit

Permalink
Merge branch '7.8' into backport/7.8/pr-65652
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored May 11, 2020
2 parents 5cad8d6 + f59df00 commit f98d29f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class CreateWatchService {
id,
type: 'json',
isNew: false, // Set to false, as we want to allow watches to be overwritten.
isActive: true,
watch,
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ const callWithRequest: APICaller = (method: string) => {
if (method === 'fieldCaps') {
resolve({ fields: [] });
return;
} else if (method === 'ml.info') {
resolve({
limits: {
effective_max_model_memory_limit: '100MB',
max_model_memory_limit: '1GB',
},
});
}
resolve({});
}) as Promise<any>;
Expand Down

0 comments on commit f98d29f

Please sign in to comment.