An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor(DatabaseBackupJob): remove retry attempts and backoff logic for job execution
Andras Bacsai49a3bb0dafcd
diff --git a/app/Jobs/DatabaseBackupJob.php b/app/Jobs/DatabaseBackupJob.phpindex 5bf98c4c8e..8766a1afcc 100644--- a/app/Jobs/DatabaseBackupJob.php+++ b/app/Jobs/DatabaseBackupJob.php@@ -32,14 +32,6 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueue{use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;- /**- * The number of times the job may be attempted.- */- public $tries = 2;-- /**- * The maximum number of unhandled exceptions to allow before failing.- */public $maxExceptions = 1;public ?Team $team = null;@@ -670,14 +662,6 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueuereturn "{$helperImage}:{$latestVersion}";}- /**- * Calculate the number of seconds to wait before retrying the job.- */- public function backoff(): array- {- return [60, 300]; // 1min, 5min between retries- }-public function failed(?Throwable $exception): void{Log::channel('scheduled-errors')->error('DatabaseBackup permanently failed', [