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
fix(ScheduledTask): change timeout property type to int for consistency in syncData method
Andras Bacsai4fa0c581c835
diff --git a/app/Livewire/Project/Shared/ScheduledTask/Show.php b/app/Livewire/Project/Shared/ScheduledTask/Show.phpindex 920a0efe56..088de0a761 100644--- a/app/Livewire/Project/Shared/ScheduledTask/Show.php+++ b/app/Livewire/Project/Shared/ScheduledTask/Show.php@@ -41,7 +41,7 @@ class Show extends Componentpublic ?string $container = null;#[Validate(['integer', 'required', 'min:60', 'max:3600'])]- public int $timeout = 300;+ public $timeout = 300;#[Locked]public ?string $application_uuid;@@ -102,7 +102,7 @@ class Show extends Component$this->task->command = str($this->command)->trim()->value();$this->task->frequency = str($this->frequency)->trim()->value();$this->task->container = str($this->container)->trim()->value();- $this->task->timeout = $this->timeout;+ $this->task->timeout = (int) $this->timeout;$this->task->save();} else {$this->isEnabled = $this->task->enabled;