X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7b3b28d3f8510cd5625dbe6e6a347dc14866f26a..refs/pull/5312/head:/app/Config/exports.php diff --git a/app/Config/exports.php b/app/Config/exports.php index 88dc08cba..ba535ca7e 100644 --- a/app/Config/exports.php +++ b/app/Config/exports.php @@ -29,6 +29,10 @@ return [ // Example: EXPORT_PDF_COMMAND="/scripts/convert.sh {input_html_path} {output_pdf_path}" 'pdf_command' => env('EXPORT_PDF_COMMAND', false), + // The amount of time allowed for PDF generation command to run + // before the process times out and is stopped. + 'pdf_command_timeout' => env('EXPORT_PDF_COMMAND_TIMEOUT', 15), + // 2024-04: Snappy/WKHTMLtoPDF now considered deprecated in regard to BookStack support. 'snappy' => [ 'pdf_binary' => env('WKHTMLTOPDF', false),