Skip to content

Commit

Permalink
Fix webhook queue name
Browse files Browse the repository at this point in the history
  • Loading branch information
akmolina28 committed Feb 22, 2021
1 parent 58f3119 commit c97a533
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/Jobs/ProcessWebhookJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
use App\Exceptions\WebhookRequestException;
use App\Factories\DetectionEventModelFactory;
use Illuminate\Support\Carbon;
use Spatie\WebhookClient\Models\WebhookCall;
use Spatie\WebhookClient\ProcessWebhookJob as SpatieProcessWebhookJob;

class ProcessWebhookJob extends SpatieProcessWebhookJob
{
public function __construct(WebhookCall $webhookCall)
{
parent::__construct($webhookCall);
$this->onQueue('low');
}

/**
* @param Carbon|null $occurred_at
* @throws WebhookRequestException
Expand Down

0 comments on commit c97a533

Please sign in to comment.