From f1cec684e2014e406e312c94dcc44a6174fea9f1 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 12 Aug 2014 18:46:09 +0100 Subject: 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. --- OpenSim/Tools/pCampBot/BotManager.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Tools/pCampBot/BotManager.cs') 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 /// public BotManager() { + // We set this to avoid issues with bots running out of HTTP connections if many are run from a single machine + // to multiple regions. + Settings.MAX_HTTP_CONNECTIONS = int.MaxValue; + InitBotSendAgentUpdates = true; InitBotRequestObjectTextures = true; -- cgit v1.1