mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
increased fixed limit for http POST request sizes to 100MB
This commit is contained in:
parent
8acae852a0
commit
c7995d3e2a
|
@ -149,7 +149,7 @@ public class YaCyDefaultServlet extends HttpServlet {
|
|||
protected ConcurrentHashMap<File, SoftReference<Method>> templateMethodCache = null;
|
||||
// settings for multipart/form-data
|
||||
protected static final File TMPDIR = new File(System.getProperty("java.io.tmpdir"));
|
||||
protected static final int SIZE_FILE_THRESHOLD = 20 * 1024 * 1024;
|
||||
protected static final int SIZE_FILE_THRESHOLD = 100 * 1024 * 1024; // 100 MB is a lot but appropriate for multi-document pushed using the push_p.json servlet
|
||||
protected static final FileItemFactory DISK_FILE_ITEM_FACTORY = new DiskFileItemFactory(SIZE_FILE_THRESHOLD, TMPDIR);
|
||||
/* ------------------------------------------------------------ */
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user