use threads from main pool on assetsconnector

0.9.0-post-fixes
UbitUmarov 2017-05-25 04:51:45 +01:00
parent 65e9421058
commit e5377eb839
2 changed files with 1 additions and 4 deletions

View File

@ -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)
{ {

View File

@ -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();
} }
} }