diff options
author | Justin Clark-Casey (justincc) | 2014-08-12 18:46:09 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-12 18:46:09 +0100 |
commit | f1cec684e2014e406e312c94dcc44a6174fea9f1 (patch) | |
tree | 83c3ae33f8b98976a19d2bb1b06f1f9e118b994e /OpenSim/Tools/pCampBot/BotManager.cs | |
parent | Update libomv libraries with those built from commit 2208379. (diff) | |
download | opensim-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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 4 |
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 | ||