fix: run user commands on high prio queue

This commit is contained in:
Andras Bacsai
2024-06-25 10:51:32 +02:00
parent f8c5a35b56
commit 58fc897ea5
6 changed files with 41 additions and 8 deletions

View File

@@ -20,10 +20,11 @@ class CoolifyTask implements ShouldBeEncrypted, ShouldQueue
*/
public function __construct(
public Activity $activity,
public bool $ignore_errors = false,
public $call_event_on_finish = null,
public $call_event_data = null
) {}
public bool $ignore_errors,
public $call_event_on_finish,
public $call_event_data,
) {
}
/**
* Execute the job.