diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-09 23:21:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-09 23:21:51 -0400 |
commit | 9a41d84989173a75e9fb28c00b2b224983a97ef3 (patch) | |
tree | 35e15849e4f6baf8505c5d3c0d8131f470b82a65 /Assistant/XMPP/Git.hs | |
parent | d166b4d35bdd3fcd0f3cef9c562dfa18f96b56bf (diff) |
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.
Diffstat (limited to 'Assistant/XMPP/Git.hs')
-rw-r--r-- | Assistant/XMPP/Git.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |