From f1cec684e2014e406e312c94dcc44a6174fea9f1 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Tue, 12 Aug 2014 18:46:09 +0100 Subject: [PATCH] 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(+) diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 12cde18367..69dd950a3d 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;