From 48aac300c63d607841d57f318b9a84da5dcff062 Mon Sep 17 00:00:00 2001 From: Oliveira Juliano Date: Thu, 5 Nov 2015 11:23:59 -0200 Subject: [PATCH] Aumentando o limite de tamanho de arquivo --- src/main/java/videoencoder/servlets/EncodingController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/videoencoder/servlets/EncodingController.java b/src/main/java/videoencoder/servlets/EncodingController.java index 513a5bc..fa0a8e0 100644 --- a/src/main/java/videoencoder/servlets/EncodingController.java +++ b/src/main/java/videoencoder/servlets/EncodingController.java @@ -21,9 +21,9 @@ * Servlet implementation class EncodingController */ @WebServlet(urlPatterns = { "/Encode" }) -@MultipartConfig(fileSizeThreshold=1024*1024*10, // 10 MB - maxFileSize=1024*1024*50, // 50 MB - maxRequestSize=1024*1024*400) // 100 MB +@MultipartConfig(fileSizeThreshold=1024*1024*200, // 200 MB + maxFileSize=1024*1024*200, // 200 MB + maxRequestSize=1024*1024*400) // 400 MB public class EncodingController extends HttpServlet { private static final long serialVersionUID = 1L;