diff options
author | Melanie | 2012-10-14 17:10:26 +0200 |
---|---|---|
committer | Melanie | 2012-10-14 17:10:26 +0200 |
commit | de3ff44406943ffad5832b6b0434209a8fabc298 (patch) | |
tree | fa4326dab1ed6a5ecdb960146f225bab86b8e1fa /OpenSim/Region/ClientStack | |
parent | Remove spammy debug for IM (diff) | |
download | opensim-SC-de3ff44406943ffad5832b6b0434209a8fabc298.zip opensim-SC-de3ff44406943ffad5832b6b0434209a8fabc298.tar.gz opensim-SC-de3ff44406943ffad5832b6b0434209a8fabc298.tar.bz2 opensim-SC-de3ff44406943ffad5832b6b0434209a8fabc298.tar.xz |
Make texture sedning use only two threads to make things less harsh on bandwidth
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index cc65981..d1a1583 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -104,9 +104,9 @@ namespace OpenSim.Region.ClientStack.Linden | |||
104 | 104 | ||
105 | if (m_workerThreads == null) | 105 | if (m_workerThreads == null) |
106 | { | 106 | { |
107 | m_workerThreads = new Thread[4]; | 107 | m_workerThreads = new Thread[2]; |
108 | 108 | ||
109 | for (uint i = 0; i < 4; i++) | 109 | for (uint i = 0; i < 2; i++) |
110 | { | 110 | { |
111 | m_workerThreads[i] = Watchdog.StartThread(DoTextureRequests, | 111 | m_workerThreads[i] = Watchdog.StartThread(DoTextureRequests, |
112 | String.Format("TextureWorkerThread{0}", i), | 112 | String.Format("TextureWorkerThread{0}", i), |