mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
use threads from main pool on assetsconnector
This commit is contained in:
@@ -2579,7 +2579,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
catch (ThreadAbortException e)
|
||||
{
|
||||
m_log.Error(string.Format("Aborted threadfunc {0} ", threadFuncNum), e);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
@@ -135,9 +135,7 @@ namespace OpenSim.Services.Connectors
|
||||
|
||||
for (int i = 0 ; i < 2 ; i++)
|
||||
{
|
||||
m_fetchThreads[i] = new Thread(AssetRequestProcessor);
|
||||
m_fetchThreads[i].IsBackground = true;
|
||||
m_fetchThreads[i].Start();
|
||||
Util.FireAndForget(delegate { AssetRequestProcessor();});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user