diff options
author | Melanie | 2012-09-14 00:11:23 +0200 |
---|---|---|
committer | Melanie | 2012-09-30 16:30:16 +0100 |
commit | 060d6fe8f4eba0c1b1c0cb4f52acd2fd59725c66 (patch) | |
tree | f1c7164fe90c22ee0ce4f9f5418e1fe4cc3fa7e8 /OpenSim/Services | |
parent | Add using clause I missed (diff) | |
download | opensim-SC-060d6fe8f4eba0c1b1c0cb4f52acd2fd59725c66.zip opensim-SC-060d6fe8f4eba0c1b1c0cb4f52acd2fd59725c66.tar.gz opensim-SC-060d6fe8f4eba0c1b1c0cb4f52acd2fd59725c66.tar.bz2 opensim-SC-060d6fe8f4eba0c1b1c0cb4f52acd2fd59725c66.tar.xz |
Allow setting max connections for an endpoint
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index e4c3eaf..086b5ad 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -108,7 +108,7 @@ namespace OpenSim.Services.Connectors | |||
108 | if (asset == null) | 108 | if (asset == null) |
109 | { | 109 | { |
110 | asset = SynchronousRestObjectRequester. | 110 | asset = SynchronousRestObjectRequester. |
111 | MakeRequest<int, AssetBase>("GET", uri, 0); | 111 | MakeRequest<int, AssetBase>("GET", uri, 0, 30); |
112 | 112 | ||
113 | if (m_Cache != null) | 113 | if (m_Cache != null) |
114 | m_Cache.Cache(asset); | 114 | m_Cache.Cache(asset); |
@@ -221,7 +221,7 @@ namespace OpenSim.Services.Connectors | |||
221 | m_AssetHandlers.Remove(id); | 221 | m_AssetHandlers.Remove(id); |
222 | } | 222 | } |
223 | handlers.Invoke(a); | 223 | handlers.Invoke(a); |
224 | }); | 224 | }, 30); |
225 | 225 | ||
226 | success = true; | 226 | success = true; |
227 | } | 227 | } |
@@ -326,4 +326,4 @@ namespace OpenSim.Services.Connectors | |||
326 | return false; | 326 | return false; |
327 | } | 327 | } |
328 | } | 328 | } |
329 | } \ No newline at end of file | 329 | } |