Software /
code /
prosody
Changeset
2309:7dc6049a69e8
mod_proxy65: Use a bigger buffer for data we're proxying
A slightly larger buffer seems to preform a lot better
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
---|---|
date | Thu, 03 Dec 2009 17:04:54 +0100 |
parents | 2308:600ac8992a4c |
children | 2310:e74c6740a42b |
files | plugins/mod_proxy65.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua Thu Dec 03 17:02:38 2009 +0100 +++ b/plugins/mod_proxy65.lua Thu Dec 03 17:04:54 2009 +0100 @@ -254,7 +254,7 @@ 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;