Skip to content

Commit

Permalink
ran prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavbhole committed Dec 2, 2023
1 parent 109bfb2 commit f928f70
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions web-console/src/druid-models/lookup-spec/lookup-spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
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: [],
Expand All @@ -480,11 +476,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
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: [],
Expand All @@ -494,11 +486,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
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: [],
Expand Down

0 comments on commit f928f70

Please sign in to comment.