Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Jobs/AfterImportJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class AfterImportJob implements ShouldQueue
{
use HasEventBus, InteractsWithQueue, Queueable;

/** Higher than other jobs in this package: each release() in handle() counts as an attempt. */
public $tries = 10;

/**
* @var WithEvents
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/AppendDataToSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class AppendDataToSheet implements ShouldQueue
{
use Queueable, Dispatchable, ProxyFailures, InteractsWithQueue;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var array
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/AppendPaginatedToSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class AppendPaginatedToSheet implements ShouldQueue
{
use Queueable, Dispatchable, ProxyFailures, InteractsWithQueue;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var TemporaryFile
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/AppendQueryToSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class AppendQueryToSheet implements ShouldQueue
{
use Queueable, Dispatchable, ProxyFailures, InteractsWithQueue, HasEventBus;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var TemporaryFile
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/AppendViewToSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class AppendViewToSheet implements ShouldQueue
{
use Queueable, Dispatchable, InteractsWithQueue;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var TemporaryFile
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/CloseSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ class CloseSheet implements ShouldQueue
{
use Queueable, ProxyFailures;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var object
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/QueueExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class QueueExport implements ShouldQueue
{
use ExtendedQueueable, Dispatchable, InteractsWithQueue;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var object
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/ReadChunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function __construct(WithChunkReading $import, IReader $reader, Temporary
$this->startRow = $startRow;
$this->chunkSize = $chunkSize;
$this->timeout = $import->timeout ?? null;
$this->tries = $import->tries ?? null;
$this->tries = $import->tries ?? 1;
$this->maxExceptions = $import->maxExceptions ?? null;
$this->backoff = method_exists($import, 'backoff') ? $import->backoff() : ($import->backoff ?? null);
$this->connection = property_exists($import, 'connection') ? $import->connection : null;
Expand Down
3 changes: 3 additions & 0 deletions src/Jobs/StoreQueuedExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class StoreQueuedExport implements ShouldQueue
{
use Queueable;

/** Upper bound on how many times this job may be attempted. */
public $tries = 1;

/**
* @var string
*/
Expand Down
Loading