Closed trancongminh132 closed 2 years ago
This is correct behavior. The data column is empty unless you are using the queueData()
trait method.
Could you please share some details about the expected and actual behavior, taken actions and mpossibly some code snippet?
@romanzipp Hi, you mean like this
public function handle()
{
$this->queueData(['foo' => 'Bar']);
// WARNING! This is overriding the monitoring data
$this->queueData(['bar' => 'Foo']);
// To preserve previous data and merge the given payload, set the $merge parameter true
$this->queueData(['bar' => 'Foo'], true);
}
Got the same error. I'm setting some testdata like
$this->queueData(['foo' => 'Bar']);
in the handle()
method of my job and the column in the database stays empty.
Which Laravel version are you using?
@romanzipp Laravel Framework 8.48.1
Hi Currently, I see 'data' column is empty. Anyone can help? Thank you!