aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-12 18:46:09 +0100
committerJustin Clark-Casey (justincc)2014-08-12 18:46:09 +0100
commitf1cec684e2014e406e312c94dcc44a6174fea9f1 (patch)
tree83c3ae33f8b98976a19d2bb1b06f1f9e118b994e
parentUpdate libomv libraries with those built from commit 2208379. (diff)
downloadopensim-SC-f1cec684e2014e406e312c94dcc44a6174fea9f1.zip
opensim-SC-f1cec684e2014e406e312c94dcc44a6174fea9f1.tar.gz
opensim-SC-f1cec684e2014e406e312c94dcc44a6174fea9f1.tar.bz2
opensim-SC-f1cec684e2014e406e312c94dcc44a6174fea9f1.tar.xz
For pCampbot, set max number of permitted connections to an endpoint to int.MaxValue
This is to avoid issues where many bots connect to a single end point with multiple regions, where each region requires a long-lived poll connection for each bot.
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 12cde18..69dd950 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -147,6 +147,10 @@ namespace pCampBot
147 /// </summary> 147 /// </summary>
148 public BotManager() 148 public BotManager()
149 { 149 {
150 // We set this to avoid issues with bots running out of HTTP connections if many are run from a single machine
151 // to multiple regions.
152 Settings.MAX_HTTP_CONNECTIONS = int.MaxValue;
153
150 InitBotSendAgentUpdates = true; 154 InitBotSendAgentUpdates = true;
151 InitBotRequestObjectTextures = true; 155 InitBotRequestObjectTextures = true;
152 156