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.bullet-2.82
parent
fbdf507e98
commit
f1cec684e2
|
@ -147,6 +147,10 @@ namespace pCampBot
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public BotManager()
|
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;
|
InitBotSendAgentUpdates = true;
|
||||||
InitBotRequestObjectTextures = true;
|
InitBotRequestObjectTextures = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue