File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 27
27
[ -z ${DEFAULT_ZPUBLISHER_ENCODING+x} ] && export DEFAULT_ZPUBLISHER_ENCODING=utf-8
28
28
[ -z ${COMPILE_MO_FILES+x} ] && export COMPILE_MO_FILES=true
29
29
[ -z ${DEBUG_MODE+x} ] && export DEBUG_MODE=off
30
+ [ -z ${ZOPE_FORM_MEMORY_LIMIT+x} ] && export ZOPE_FORM_MEMORY_LIMIT=4MB
31
+
30
32
31
33
# ZODB ENV Vars
32
34
[ -z ${ZODB_CACHE_SIZE+x} ] && export ZODB_CACHE_SIZE=50000
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ default-zpublisher-encoding $(DEFAULT_ZPUBLISHER_ENCODING)
13
13
CHAMELEON_CACHE $INSTANCE/var/cache
14
14
</environment>
15
15
16
+ <dos_protection>
17
+ form-memory-limit $(ZOPE_FORM_MEMORY_LIMIT)
18
+ </dos_protection>
19
+
16
20
<zodb_db main>
17
21
# Main database
18
22
cache-size $(ZODB_CACHE_SIZE)
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ default-zpublisher-encoding $(DEFAULT_ZPUBLISHER_ENCODING)
13
13
CHAMELEON_CACHE $INSTANCE/var/cache
14
14
</environment>
15
15
16
+ <dos_protection>
17
+ form-memory-limit $(ZOPE_FORM_MEMORY_LIMIT)
18
+ </dos_protection>
19
+
16
20
<zodb_db main>
17
21
# Main database
18
22
cache-size $(ZODB_CACHE_SIZE)
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ default-zpublisher-encoding $(DEFAULT_ZPUBLISHER_ENCODING)
10
10
CHAMELEON_CACHE $INSTANCE/var/cache
11
11
</environment>
12
12
13
+ <dos_protection>
14
+ form-memory-limit $(ZOPE_FORM_MEMORY_LIMIT)
15
+ </dos_protection>
16
+
13
17
<zodb_db main>
14
18
# Main database
15
19
cache-size $(ZODB_CACHE_SIZE)
You can’t perform that action at this time.
0 commit comments