diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index f6a9af3..0f167b2 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -31,8 +31,9 @@ using System.Collections.Generic; | |||
31 | using System.Data; | 31 | using System.Data; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Text.RegularExpressions; | 33 | using System.Text.RegularExpressions; |
34 | using OpenMetaverse; | 34 | using System.Threading; |
35 | using log4net; | 35 | using log4net; |
36 | using OpenMetaverse; | ||
36 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
37 | 38 | ||
38 | namespace OpenSim.Data.MySQL | 39 | namespace OpenSim.Data.MySQL |
@@ -93,7 +94,7 @@ namespace OpenSim.Data.MySQL | |||
93 | if (lockedCons > m_maxConnections) | 94 | if (lockedCons > m_maxConnections) |
94 | { | 95 | { |
95 | lockedCons = 0; | 96 | lockedCons = 0; |
96 | System.Threading.Thread.Sleep(1000); // Wait some time before searching them again. | 97 | Thread.Sleep(1000); // Wait some time before searching them again. |
97 | m_log.Debug( | 98 | m_log.Debug( |
98 | "WARNING: All threads are in use. Probable cause: Something didnt release a mutex properly, or high volume of requests inbound."); | 99 | "WARNING: All threads are in use. Probable cause: Something didnt release a mutex properly, or high volume of requests inbound."); |
99 | m_log.Debug("Current connections-in-use dump:"); | 100 | m_log.Debug("Current connections-in-use dump:"); |