Ensure our jobs are storing objects without relations

This commit is contained in:
2024-11-03 00:16:48 +11:00
parent 3b7ce4b9ce
commit f03533b62a
7 changed files with 8 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ class PacketProcess implements ShouldQueue
public function __construct(string $filename,System $so,bool $interactive=TRUE,Carbon $rcvd_time=NULL,bool $nobot=FALSE)
{
$this->filename = $filename;
$this->so = $so;
$this->so = $so->withoutRelations();
$this->interactive = $interactive;
$this->rcvd_time = $rcvd_time ?: Carbon::now();
$this->nobot = $nobot;