aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-13 20:35:45 +0000
committerJustin Clarke Casey2008-10-13 20:35:45 +0000
commit97f4226666b5d3525999550e1362180be182cc87 (patch)
treeeb0a19c238f42bf34960f28f92c1c4c1b75aa374 /OpenSim/Framework/PacketPool.cs
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-97f4226666b5d3525999550e1362180be182cc87.zip
opensim-SC_OLD-97f4226666b5d3525999550e1362180be182cc87.tar.gz
opensim-SC_OLD-97f4226666b5d3525999550e1362180be182cc87.tar.bz2
opensim-SC_OLD-97f4226666b5d3525999550e1362180be182cc87.tar.xz
* Apply a modified version of the part of http://opensimulator.org/mantis/view.php?id=2361 that allows region registration to be enabled/disabled on the grid server
* Region registration is enabled by default in the configuration unless the user chooses otherwise * On the console * show status - shows grid status * enable-reg - enables region registration to the grid * disable-reg - disables region registration * Enabling or disabling region registration will not affect any other grid functions or regions already on the grid
Diffstat (limited to 'OpenSim/Framework/PacketPool.cs')
-rw-r--r--OpenSim/Framework/PacketPool.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 807403e..e24da42 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -36,7 +36,7 @@ namespace OpenSim.Framework
36 { 36 {
37 private static readonly PacketPool instance = new PacketPool(); 37 private static readonly PacketPool instance = new PacketPool();
38 38
39 private const bool packetPoolEnabled = false; 39 private bool packetPoolEnabled = false;
40 40
41 private readonly Dictionary<PacketType, Stack<Packet>> pool = new Dictionary<PacketType, Stack<Packet>>(); 41 private readonly Dictionary<PacketType, Stack<Packet>> pool = new Dictionary<PacketType, Stack<Packet>>();
42 42