Merge pull request #3000 from ayntk-ai/update-settings-improvements

Feat: Updated Check Frequency and Auto Update Frequency settings
This commit is contained in:
Andras Bacsai
2024-08-06 14:03:41 +02:00
committed by GitHub
9 changed files with 254 additions and 25 deletions

View File

@@ -20,7 +20,6 @@ class UpdateCoolify
{
try {
$settings = InstanceSettings::get();
ray('Running InstanceAutoUpdateJob');
$this->server = Server::find(0);
if (! $this->server) {
return;
@@ -48,7 +47,6 @@ class UpdateCoolify
private function update()
{
if (isDev()) {
ray('Running in dev mode');
remote_process([
'sleep 10',
], $this->server);