(feat) Support higher limits for OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE (#392)

* Support higher limits for OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE

* Give more details about OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE
This commit is contained in:
Erik Tews
2026-11-13 18:59:11 +01:00
committed by GitHub
parent 0c4e9c631c
commit d4695d2356

View File

@@ -58,6 +58,14 @@ services:
OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
# Opencloud sets a maximum size for GRPC requests. Having a large amount of file per directory
# can exceed these limits resulting in internal server errors and log messages like:
#
# grpc: received message larger than max (X vs. 10240000)
#
# with X being a number larger than 10240000. You can set a custom limit, for example 20480000.
# Keep in mind that doubling the GRPC_MAX_RECEIVED_MESSAGE_SIZE limit may also double your peak RAM usage.
OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE:
volumes:
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml