Skip to content

Commit e5a1c24

Browse files
authored
feat(recipe): when@prod timeout and source size caps (#5)
1 parent f572cb6 commit e5a1c24

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.symfony/recipe/nowo-tech/word-to-pdf-bundle/1.0/config/packages/nowo_word_to_pdf.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# System requirement: LibreOffice Writer (e.g. apt install libreoffice-writer).
44
# Verify: php bin/console nowo:word-to-pdf:check
5+
# Host must only pass trusted upload paths (never user-controlled absolute paths).
56

67
nowo_word_to_pdf:
78
engine: libreoffice
@@ -22,3 +23,12 @@ nowo_word_to_pdf:
2223
storage: memory
2324
local_path: null
2425
flysystem_adapter: null
26+
27+
when@prod:
28+
nowo_word_to_pdf:
29+
profiles:
30+
default:
31+
timeout: 120
32+
max_source_bytes: 20971520
33+
check_on_boot: true
34+
boot_failure: exception

0 commit comments

Comments
 (0)