]> _ Git - fluidbook-toolbox.git/commitdiff
#7340
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Feb 2025 08:07:56 +0000 (09:07 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Feb 2025 08:07:56 +0000 (09:07 +0100)
app/Console/Commands/FluidbookFarmPing2.php [deleted file]
app/Console/Kernel.php

diff --git a/app/Console/Commands/FluidbookFarmPing2.php b/app/Console/Commands/FluidbookFarmPing2.php
deleted file mode 100644 (file)
index 53eed68..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-
-namespace App\Console\Commands;
-
-use App\Console\Commands\Base\ToolboxCommand;
-use App\Fluidbook\Farm;
-
-
-class FluidbookFarmPing2 extends ToolboxCommand
-{
-    protected $signature = 'fluidbook:farm:ping2 {--force}';
-    protected $description = 'Ping servers';
-
-    public function handle()
-    {
-        Farm::ping2(true, $this->option('force', false));
-    }
-}
index b7ffc5e8d89772ed4bd5a37757fd2e6320969bd9..208c3d6ff70acad3bcdca06c67dedd4c1a2131e9 100644 (file)
@@ -52,8 +52,7 @@ class Kernel extends \Cubist\Backpack\Console\Kernel
         $schedule->command('fluidbook:player:updatesources')->everyTwoHours();
         $schedule->command('job:dispatchNow \\\\Cubedesigners\\\\UserDatabase\\\\Jobs\\\\ApplyPermissionsToUsers')->everyFifteenMinutes();
 
-        $schedule->command('fluidbook:farm:ping --force')->everyMinute();
-        $schedule->command('fluidbook:farm:ping2 --force')->everyMinute();
+        $schedule->command('fluidbook:farm:ping')->everyMinute();
         $schedule->command('fluidbook:loadbalancer:ping --force')->everyMinute();
         $schedule->command('cubist:magic:precache')->everyThirtyMinutes();
         $schedule->command('toolbox:precache')->everyThirtyMinutes();