Changeset View
Changeset View
Standalone View
Standalone View
src/app/Jobs/WalletCharge.php
Show All 15 Lines | class WalletCharge implements ShouldQueue | ||||
use InteractsWithQueue; | use InteractsWithQueue; | ||||
use Queueable; | use Queueable; | ||||
use SerializesModels; | use SerializesModels; | ||||
/** @var \App\Wallet A wallet object */ | /** @var \App\Wallet A wallet object */ | ||||
protected $wallet; | protected $wallet; | ||||
/** @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; | ||||
Show All 22 Lines |