use threads from main pool on assetsconnector
parent
65e9421058
commit
e5377eb839
|
@ -2579,7 +2579,6 @@ namespace OpenSim.Framework
|
||||||
}
|
}
|
||||||
catch (ThreadAbortException e)
|
catch (ThreadAbortException e)
|
||||||
{
|
{
|
||||||
m_log.Error(string.Format("Aborted threadfunc {0} ", threadFuncNum), e);
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -135,9 +135,7 @@ namespace OpenSim.Services.Connectors
|
||||||
|
|
||||||
for (int i = 0 ; i < 2 ; i++)
|
for (int i = 0 ; i < 2 ; i++)
|
||||||
{
|
{
|
||||||
m_fetchThreads[i] = new Thread(AssetRequestProcessor);
|
Util.FireAndForget(delegate { AssetRequestProcessor();});
|
||||||
m_fetchThreads[i].IsBackground = true;
|
|
||||||
m_fetchThreads[i].Start();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue