Hi there seems to be a problem with my queue on laravel homestead. Work and Listen processes 1 queue at a time is there any way to make run it once and processes all the queue in the jobs table?
Here is my code:
DB::beginTransaction();
try {
$model_data = $this->transformCsvDataToModelData($this->csv_data, $this->data['file_columns'], $this->data['table_columns'], $this->data);
$dynamic_list_model = new DynamicDataList();
$dynamic_list_model->setTable($this->list->table_name);
$dynamic_list_model->insert($model_data);
$this->notify($this->data['user']->id, [
'title' => 'Data list upload successful',
'message' => 'Batch ' . ($this->index + 1) . ' data list upload done.'
], 'success');
DB::commit();
} catch (Exception $exception) {
DB::rollBack();
}