From a29fc1a88d75d84ea4ed14c3a077baf55a9b4912 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Tue, 21 Apr 2020 12:21:26 +0800 Subject: [PATCH] change default max body size --- python/paddle_serving_server_gpu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_server_gpu/__init__.py b/python/paddle_serving_server_gpu/__init__.py index 8b02828d..0e5a49c4 100644 --- a/python/paddle_serving_server_gpu/__init__.py +++ b/python/paddle_serving_server_gpu/__init__.py @@ -49,7 +49,7 @@ def serve_args(): parser.add_argument( "--max_body_size", type=int, - default=64 * 1024 * 1024, + default=512 * 1024 * 1024, help="Limit sizes of messages") return parser.parse_args() -- GitLab