]> _ Git - fluidbook-toolbox.git/commitdiff
try #6550 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 4 Dec 2023 11:03:20 +0000 (12:03 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 4 Dec 2023 11:03:20 +0000 (12:03 +0100)
app/Console/Kernel.php
app/Http/Controllers/Admin/Operations/FluidbookPublication/LinksOperation.php

index a81f5dc701be5f5ecc98e355825c8faea121a596..9dddd440741db6fa2a208003ed925d8d378f2728 100644 (file)
@@ -44,7 +44,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')->everyMinute();
+        $schedule->command('fluidbook:farm:ping --force')->everyMinute();
         $schedule->command('fluidbook:loadbalancer:ping --force')->everyMinute();
         $schedule->command('cubist:magic:precache')->everyThirtyMinutes();
         $schedule->command('toolbox:precache')->everyThirtyMinutes();
index e83e2975d54042b210b6a39c21af9dde78a65e69..36684d2c40366c60ee617587e298bf92a47f5b12 100644 (file)
@@ -112,7 +112,7 @@ trait LinksOperation
                         if (isset($numerotation[($ph - 1)])) {
                             $vi = $numerotation[($ph - 1)];
                         } else {
-                            throw new \Error(__('Problème de numérotation virtuelle'));
+                            throw new \Error(__('Problème de numérotation virtuelle avec le lien :uid situé page :page', ['uid' => $link['uid'], 'page' => $link['page']]));
                         }
                         $link['to'] = $vi;
                     }