Changeset View
Changeset View
Standalone View
Standalone View
src/app/Jobs/WalletCheck.php
Show All 24 Lines | class WalletCheck implements ShouldQueue | ||||
public const THRESHOLD_BEFORE_DELETE = 'before_delete'; | public const THRESHOLD_BEFORE_DELETE = 'before_delete'; | ||||
public const THRESHOLD_SUSPEND = 'suspend'; | public const THRESHOLD_SUSPEND = 'suspend'; | ||||
public const THRESHOLD_BEFORE_SUSPEND = 'before_suspend'; | public const THRESHOLD_BEFORE_SUSPEND = 'before_suspend'; | ||||
public const THRESHOLD_REMINDER = 'reminder'; | public const THRESHOLD_REMINDER = 'reminder'; | ||||
public const THRESHOLD_BEFORE_REMINDER = 'before_reminder'; | public const THRESHOLD_BEFORE_REMINDER = 'before_reminder'; | ||||
public const THRESHOLD_INITIAL = 'initial'; | public const THRESHOLD_INITIAL = 'initial'; | ||||
/** @var int The number of seconds to wait before retrying the job. */ | /** @var int The number of seconds to wait before retrying the job. */ | ||||
public $retryAfter = 10; | public $backoff = 10; | ||||
/** @var int How many times retry the job if it fails. */ | /** @var int How many times retry the job if it fails. */ | ||||
public $tries = 5; | public $tries = 5; | ||||
/** @var bool Delete the job if the wallet no longer exist. */ | /** @var bool Delete the job if the wallet no longer exist. */ | ||||
public $deleteWhenMissingModels = true; | public $deleteWhenMissingModels = true; | ||||
/** @var \App\Wallet A wallet object */ | /** @var \App\Wallet A wallet object */ | ||||
▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines |