diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-12-03 17:04:54 +0100 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-12-03 17:04:54 +0100 |
commit | d43c929cda623291e446d69587533c37d9b70233 (patch) | |
tree | 5aa50c136c81ea127831c7fb616fb76941950e2d | |
parent | 241f1dc323f6f7a56c4813226fca101fe9bbc63c (diff) | |
download | prosody-d43c929cda623291e446d69587533c37d9b70233.tar.gz prosody-d43c929cda623291e446d69587533c37d9b70233.zip |
mod_proxy65: Use a bigger buffer for data we're proxying
A slightly larger buffer seems to preform a lot better
-rw-r--r-- | plugins/mod_proxy65.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua index 0858c409..b6fce1c7 100644 --- a/plugins/mod_proxy65.lua +++ b/plugins/mod_proxy65.lua @@ -254,7 +254,7 @@ end connlisteners.start(module.host .. ':proxy65'); component = componentmanager.register_component(host, handle_to_domain); -local sender_lock_threshold = 1024; +local sender_lock_threshold = 4096; function throttle_sending(sender, receiver) sender:pattern(sender_lock_threshold); local sender_locked; |