diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGridData.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGridData.cs b/OpenSim/Data/MySQL/MySQLGridData.cs index 437747b..5c00330 100644 --- a/OpenSim/Data/MySQL/MySQLGridData.cs +++ b/OpenSim/Data/MySQL/MySQLGridData.cs | |||
@@ -29,8 +29,9 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using OpenMetaverse; | 32 | using System.Threading; |
33 | using log4net; | 33 | using log4net; |
34 | using OpenMetaverse; | ||
34 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
35 | 36 | ||
36 | namespace OpenSim.Data.MySQL | 37 | namespace OpenSim.Data.MySQL |
@@ -78,7 +79,7 @@ namespace OpenSim.Data.MySQL | |||
78 | if (lockedCons > m_maxConnections) | 79 | if (lockedCons > m_maxConnections) |
79 | { | 80 | { |
80 | lockedCons = 0; | 81 | lockedCons = 0; |
81 | System.Threading.Thread.Sleep(1000); // Wait some time before searching them again. | 82 | Thread.Sleep(1000); // Wait some time before searching them again. |
82 | m_log.Debug( | 83 | m_log.Debug( |
83 | "WARNING: All threads are in use. Probable cause: Something didnt release a mutex properly, or high volume of requests inbound."); | 84 | "WARNING: All threads are in use. Probable cause: Something didnt release a mutex properly, or high volume of requests inbound."); |
84 | } | 85 | } |