diff options
author | UbitUmarov | 2017-05-25 04:51:45 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-25 04:51:45 +0100 |
commit | e5377eb839fe9edecae4063a823ff8bf10768b1c (patch) | |
tree | 3ff7b6149aefa6cbb4119f0f7583451d12c2246f /OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |
parent | minor changes (diff) | |
download | opensim-SC-e5377eb839fe9edecae4063a823ff8bf10768b1c.zip opensim-SC-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.gz opensim-SC-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.bz2 opensim-SC-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.xz |
use threads from main pool on assetsconnector
Diffstat (limited to 'OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 62d13fc..2deb2d1 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -135,9 +135,7 @@ namespace OpenSim.Services.Connectors | |||
135 | 135 | ||
136 | for (int i = 0 ; i < 2 ; i++) | 136 | for (int i = 0 ; i < 2 ; i++) |
137 | { | 137 | { |
138 | m_fetchThreads[i] = new Thread(AssetRequestProcessor); | 138 | Util.FireAndForget(delegate { AssetRequestProcessor();}); |
139 | m_fetchThreads[i].IsBackground = true; | ||
140 | m_fetchThreads[i].Start(); | ||
141 | } | 139 | } |
142 | } | 140 | } |
143 | 141 | ||