From f928f70d031f79c7ab39b0736e7a270f5d882117 Mon Sep 17 00:00:00 2001 From: Pranav Bhole Date: Fri, 1 Dec 2023 17:09:39 -0800 Subject: [PATCH] ran prettify --- .../druid-models/lookup-spec/lookup-spec.tsx | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/web-console/src/druid-models/lookup-spec/lookup-spec.tsx b/web-console/src/druid-models/lookup-spec/lookup-spec.tsx index 345522df3e5df..f8c0fce12488a 100644 --- a/web-console/src/druid-models/lookup-spec/lookup-spec.tsx +++ b/web-console/src/druid-models/lookup-spec/lookup-spec.tsx @@ -466,11 +466,7 @@ export const LOOKUP_FIELDS: Field[] = [ type: 'number', placeholder: '30 (optional), default is 0', defined: l => - oneOfKnown( - deepGet(l, 'extractionNamespace.type'), - KNOWN_EXTRACTION_NAMESPACE_TYPES, - 'jdbc', - ), + oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'), info: 'How much jitter to add (in seconds) up to maximum as a delay (actual value will be used as random from 0 to jitterSeconds), used to distribute db load more evenly', required: false, suggestions: [], @@ -480,11 +476,7 @@ export const LOOKUP_FIELDS: Field[] = [ type: 'number', placeholder: '60 (optional), default is 60 sec', defined: l => - oneOfKnown( - deepGet(l, 'extractionNamespace.type'), - KNOWN_EXTRACTION_NAMESPACE_TYPES, - 'jdbc', - ), + oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'), info: 'How much time (in seconds) it can take to query and populate lookup values. It will be helpful in lookup updates. On lookup update, it will wait maximum of `loadTimeoutSeconds` for new lookup to come up and continue serving from old lookup until new lookup successfully loads.', required: false, suggestions: [], @@ -494,11 +486,7 @@ export const LOOKUP_FIELDS: Field[] = [ type: 'number', placeholder: '10, (optional), default is 10', defined: l => - oneOfKnown( - deepGet(l, 'extractionNamespace.type'), - KNOWN_EXTRACTION_NAMESPACE_TYPES, - 'jdbc', - ), + oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'), info: 'The maximum percentage of heap size that the lookup should consume. If the lookup grows beyond this size, warning messages will be logged in the respective service logs.', required: false, suggestions: [],