From 9a41d84989173a75e9fb28c00b2b224983a97ef3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 9 Nov 2012 23:21:51 -0400 Subject: increase chunk size XMPP has no defined message size limits, but some servers will have ad-hoc limits. However, 4k seems safe, even after the additional bloat of base64. That should not exceed 8k. --- Assistant/XMPP/Git.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant/XMPP/Git.hs') diff --git a/Assistant/XMPP/Git.hs b/Assistant/XMPP/Git.hs index fc32698ae..72af2758e 100644 --- a/Assistant/XMPP/Git.hs +++ b/Assistant/XMPP/Git.hs @@ -253,4 +253,4 @@ handleDeferred :: NetMessage -> Assistant () handleDeferred = handlePushMessage chunkSize :: Int -chunkSize = 1024 +chunkSize = 4096 -- cgit v1.2.3