From b31b345b456c6d29b919874bfb605b4083230a2c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 28 Jun 2023 10:49:06 +0200 Subject: [PATCH] wait #5898 --- app/Fluidbook/SocialImage.php | 3 +++ .../social_screenshot/social_screenshot.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Fluidbook/SocialImage.php b/app/Fluidbook/SocialImage.php index 5cb41d86f..dc9052041 100644 --- a/app/Fluidbook/SocialImage.php +++ b/app/Fluidbook/SocialImage.php @@ -53,6 +53,9 @@ class SocialImage $cl->execute(); unlink($lock); + if (!file_exists($res)) { + $cl->debug(); + } self::getSocialImageSize($fluidbook); } diff --git a/resources/fluidbookpublication/social_screenshot/social_screenshot.js b/resources/fluidbookpublication/social_screenshot/social_screenshot.js index 5385dd2a2..1c9a1d6c7 100644 --- a/resources/fluidbookpublication/social_screenshot/social_screenshot.js +++ b/resources/fluidbookpublication/social_screenshot/social_screenshot.js @@ -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)); -- 2.39.5