mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 01:43:12 +08:00
(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:
@@ -58,6 +58,14 @@ services:
|
|||||||
OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"
|
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)
|
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
|
||||||
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
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:
|
volumes:
|
||||||
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
|
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
|
||||||
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml
|
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user