From 4b82276e68be920d10c7a206a96413197a8fdecf Mon Sep 17 00:00:00 2001 From: Guus der Kinderen Date: Mon, 8 Oct 2018 14:29:43 +0200 Subject: [PATCH] #13: Default value for maxFileSize should be increased. --- src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java b/src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java index a1ccfec..426d9c3 100644 --- a/src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java +++ b/src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java @@ -34,7 +34,7 @@ // TODO: persist internal state to allow for restart survival. public class SlotManager { - public static final long DEFAULT_MAX_FILE_SIZE = 5 * 1024 * 1024; + public static final long DEFAULT_MAX_FILE_SIZE = 50 * 1024 * 1024; private static SlotManager INSTANCE = null; private final Cache slots; private long maxFileSize = DEFAULT_MAX_FILE_SIZE;