]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5898
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Jun 2023 08:49:06 +0000 (10:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Jun 2023 08:49:06 +0000 (10:49 +0200)
app/Fluidbook/SocialImage.php
resources/fluidbookpublication/social_screenshot/social_screenshot.js

index 5cb41d86f39be80dc137853dae3fe47eabc2c9ff..dc9052041192d987c0fbd90962d20a86db8615dc 100644 (file)
@@ -53,6 +53,9 @@ class SocialImage
                     $cl->execute();
                     unlink($lock);
 
+                    if (!file_exists($res)) {
+                        $cl->debug();
+                    }
 
                     self::getSocialImageSize($fluidbook);
                 }
index 5385dd2a2bf34f402501203c0495603684032b63..1c9a1d6c7112329ca8dff25a32c6ca3d7a8f75ec 100644 (file)
@@ -18,7 +18,7 @@ const optionDefinitions = [
             "--no-sandbox",
         ],
         executablePath: 'google-chrome-stable',
-        protocolTimeout: 1800000,
+        protocolTimeout: 18000000,
     });
     const page = await browser.newPage();
     page.on('console', msg => console.log('PAGE LOG:', msg));