Skip to content

Commit a226c71

Browse files
committed
Fixed bad array key in worker file
1 parent 88f0688 commit a226c71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/WorkerCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public function execute()
101101

102102
// Display configuration
103103
$io->bold('Starting APM metrics worker with configuration:', true);
104+
$batchSize = $options['batch_size'] > 0 ? $options['batch_size'] : ($options['batchSize'] ?? 'All available');
104105
$io->table([
105106
[
106107
'Setting' => 'Source Type',
@@ -112,7 +113,7 @@ public function execute()
112113
],
113114
[
114115
'Setting' => 'Batch Size',
115-
'Value' => $options['batch_size'] > 0 ? $options['batch_size'] : ($options['batchSize'] ?? 'All available')
116+
'Value' => $batchSize
116117
],
117118
[
118119
'Setting' => 'Timeout',

0 commit comments

Comments
 (0)