aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-16 12:20:01 -0700
committerJohn Hurliman2009-10-16 12:20:01 -0700
commita18489dc9badfccd775145f5a1a800a763d0c554 (patch)
treef855a444bf0e4ea33511838bf0b648a9267ec8c2 /OpenSim/Data/MySQL
parentUpdating OpenSim.ini.example with the section required to enable a useful pri... (diff)
downloadopensim-SC_OLD-a18489dc9badfccd775145f5a1a800a763d0c554.zip
opensim-SC_OLD-a18489dc9badfccd775145f5a1a800a763d0c554.tar.gz
opensim-SC_OLD-a18489dc9badfccd775145f5a1a800a763d0c554.tar.bz2
opensim-SC_OLD-a18489dc9badfccd775145f5a1a800a763d0c554.tar.xz
* Change appearance packets from State to Task. This will hopefully fix the cloud issues
* Changed the throttling logic to obey the requested client bandwidth limit but also share bandwidth between some of the categories to improve throughput on high prim or heavily trafficked regions
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLLegacyRegionData.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
index fe0914b..839ac7f 100644
--- a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
@@ -401,6 +401,7 @@ namespace OpenSim.Data.MySQL
401 Dictionary<UUID, SceneObjectGroup> objects = new Dictionary<UUID, SceneObjectGroup>(); 401 Dictionary<UUID, SceneObjectGroup> objects = new Dictionary<UUID, SceneObjectGroup>();
402 Dictionary<UUID, SceneObjectPart> prims = new Dictionary<UUID, SceneObjectPart>(); 402 Dictionary<UUID, SceneObjectPart> prims = new Dictionary<UUID, SceneObjectPart>();
403 SceneObjectGroup grp = null; 403 SceneObjectGroup grp = null;
404 int count = 0;
404 405
405 lock (m_Connection) 406 lock (m_Connection)
406 { 407 {
@@ -463,6 +464,10 @@ namespace OpenSim.Data.MySQL
463 if (link != 0) 464 if (link != 0)
464 prim.LinkNum = link; 465 prim.LinkNum = link;
465 } 466 }
467
468 ++count;
469 if (count % 5000 == 0)
470 m_log.Debug("[REGION DB]: Loaded " + count + " prims...");
466 } 471 }
467 } 472 }
468 473