Skip to content

Commit

Permalink
Aumentando o limite de tamanho de arquivo
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliveira Juliano committed Nov 5, 2015
1 parent 025a959 commit 48aac30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/videoencoder/servlets/EncodingController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 48aac30

Please sign in to comment.