Commit f7430b7b authored by Matija Obreza's avatar Matija Obreza
Browse files

Increased max size for multipart form requests (file uploads)

parent fc6989f2
......@@ -45,9 +45,9 @@ import com.hazelcast.web.SessionListener;
*/
public class WebInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {
private static final long MAX_FILE_SIZE = 1024 * 1024 * 10; // 10M
private static final long MAX_FILE_SIZE = 1024 * 1024 * 500; // 500M
private static final long MAX_REQUEST_SIZE = MAX_FILE_SIZE * 2;
private static final int FILE_SIZE_THRESHOLD = 0;
private static final int FILE_SIZE_THRESHOLD = 1024 * 1024 * 1; // 1M;
@Override
protected Class<?>[] getRootConfigClasses() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment