Make texture sedning use only two threads to make things less harsh on bandwidth

avinationmerge
Melanie 2012-10-14 17:10:26 +02:00
parent 01f498bfb4
commit de3ff44406
1 changed files with 2 additions and 2 deletions

View File

@ -104,9 +104,9 @@ namespace OpenSim.Region.ClientStack.Linden
if (m_workerThreads == null) if (m_workerThreads == null)
{ {
m_workerThreads = new Thread[4]; m_workerThreads = new Thread[2];
for (uint i = 0; i < 4; i++) for (uint i = 0; i < 2; i++)
{ {
m_workerThreads[i] = Watchdog.StartThread(DoTextureRequests, m_workerThreads[i] = Watchdog.StartThread(DoTextureRequests,
String.Format("TextureWorkerThread{0}", i), String.Format("TextureWorkerThread{0}", i),