diff options
author | Justin Clark-Casey (justincc) | 2010-10-30 01:35:12 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-10-30 01:35:12 +0100 |
commit | 343c89465891234be94da33719dcbdd903993a42 (patch) | |
tree | cdb789278652f3eb26e3a4640e1a166b88312cb5 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Change level of some logging messages, turning some info into arguably more a... (diff) | |
download | opensim-SC_OLD-343c89465891234be94da33719dcbdd903993a42.zip opensim-SC_OLD-343c89465891234be94da33719dcbdd903993a42.tar.gz opensim-SC_OLD-343c89465891234be94da33719dcbdd903993a42.tar.bz2 opensim-SC_OLD-343c89465891234be94da33719dcbdd903993a42.tar.xz |
Set async_packet_handling = true by default
Setting this to true avoids a 500ms or so client freeze when the LLUDP server thread is taken up with processing a UseCircuitCode packet synchronously.
Extensive testing on Wright Plaza appeared to show no bad effects and this seems to reduce login lag considerably.
Of course, a lot of login lag is still coming from other sources.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 161e8c2..821f679 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -183,7 +183,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
183 | IConfig config = configSource.Configs["ClientStack.LindenUDP"]; | 183 | IConfig config = configSource.Configs["ClientStack.LindenUDP"]; |
184 | if (config != null) | 184 | if (config != null) |
185 | { | 185 | { |
186 | m_asyncPacketHandling = config.GetBoolean("async_packet_handling", false); | 186 | m_asyncPacketHandling = config.GetBoolean("async_packet_handling", true); |
187 | m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0); | 187 | m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0); |
188 | sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0); | 188 | sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0); |
189 | 189 | ||