mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-07 01:24:04 +00:00
Add docblocks to $tries and $backoff properties
Satisfies the CodeRabbit docstring coverage check by documenting the two retry-policy properties on all 8 queued jobs. No behavioural change.
This commit is contained in:
parent
39f01e2b54
commit
66957c34e1
8 changed files with 16 additions and 0 deletions
|
|
@ -15,8 +15,10 @@ class ClearPendingTenants implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable;
|
use Dispatchable, InteractsWithQueue, Queueable;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,10 @@ class CreateDatabase implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public static bool $ignoreExisting = false;
|
public static bool $ignoreExisting = false;
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,10 @@ class CreatePendingTenants implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable;
|
use Dispatchable, InteractsWithQueue, Queueable;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,10 @@ class CreateStorageSymlinks implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,10 @@ class DeleteDatabase implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,10 @@ class MigrateDatabase implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,10 @@ class RemoveStorageSymlinks implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public Tenant $tenant;
|
public Tenant $tenant;
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,10 @@ class SeedDatabase implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/** The maximum number of times the job may be attempted. */
|
||||||
public int $tries = 3;
|
public int $tries = 3;
|
||||||
|
|
||||||
|
/** Delay in seconds between retries. */
|
||||||
public array $backoff = [30, 60, 120];
|
public array $backoff = [30, 60, 120];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue