mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[logstash/pipeline-workers] show 0 when 0 (#33253)
This commit is contained in:
parent
ee75231ec6
commit
f8c70a7e11
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ class PipelineEditorUi extends React.Component {
|
|||
username,
|
||||
} = this.props;
|
||||
|
||||
const pipelineWorkers = settings['pipeline.workers'] ? settings['pipeline.workers'] : 1;
|
||||
|
||||
const pipelineWorkersSet = typeof settings['pipeline.workers'] === 'number';
|
||||
const pipelineWorkers = pipelineWorkersSet ? settings['pipeline.workers'] : 1;
|
||||
this.state = {
|
||||
maxBytesNumber: settings['queue.max_bytes.number'],
|
||||
maxBytesUnit: settings['queue.max_bytes.units'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue