Skip to content

Commit

Permalink
eat: repeat jobs on fail
Browse files Browse the repository at this point in the history
  • Loading branch information
seka19 committed Nov 4, 2023
1 parent 36cbe41 commit e78bbf9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ShopifyApp/Jobs/AppUninstalledJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ class AppUninstalledJob implements ShouldQueue
use InteractsWithQueue;
use Queueable;
use SerializesModels;

/**
* @var int
*/
public $tries = 3;

/**
* Shop's instance.
*
Expand Down
6 changes: 6 additions & 0 deletions src/ShopifyApp/Jobs/ScripttagInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ class ScripttagInstaller implements ShouldQueue
use InteractsWithQueue;
use Queueable;
use SerializesModels;

/**
* @var int
*/
public $tries = 3;

/**
* The shop object.
*
Expand Down
6 changes: 6 additions & 0 deletions src/ShopifyApp/Jobs/WebhookInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ class WebhookInstaller implements ShouldQueue
use InteractsWithQueue;
use Queueable;
use SerializesModels;

/**
* @var int
*/
public $tries = 3;

/**
* The shop object.
*
Expand Down

0 comments on commit e78bbf9

Please sign in to comment.