From bb6400995b7747275a89260d9e9b3695d7d10390 Mon Sep 17 00:00:00 2001
From: MRXLT <xlt2024@gmail.com>
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