diff options
author | Melanie | 2012-09-14 00:11:23 +0200 |
---|---|---|
committer | Melanie | 2012-09-14 00:11:23 +0200 |
commit | 52d74cf274fbf002e7ec6ad82fe1a38dc2c02d59 (patch) | |
tree | b566184a9bce2e2e52836856c2702e03df14f92f /OpenSim/Services/Connectors/Asset | |
parent | Add a logger so the prior commit will work (diff) | |
download | opensim-SC_OLD-52d74cf274fbf002e7ec6ad82fe1a38dc2c02d59.zip opensim-SC_OLD-52d74cf274fbf002e7ec6ad82fe1a38dc2c02d59.tar.gz opensim-SC_OLD-52d74cf274fbf002e7ec6ad82fe1a38dc2c02d59.tar.bz2 opensim-SC_OLD-52d74cf274fbf002e7ec6ad82fe1a38dc2c02d59.tar.xz |
Allow setting max connections for an endpoint
Diffstat (limited to 'OpenSim/Services/Connectors/Asset')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 9e04601..daf38bc 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -193,7 +193,7 @@ namespace OpenSim.Services.Connectors | |||
193 | if (asset == null || asset.Data == null || asset.Data.Length == 0) | 193 | if (asset == null || asset.Data == null || asset.Data.Length == 0) |
194 | { | 194 | { |
195 | asset = SynchronousRestObjectRequester. | 195 | asset = SynchronousRestObjectRequester. |
196 | MakeRequest<int, AssetBase>("GET", uri, 0); | 196 | MakeRequest<int, AssetBase>("GET", uri, 0, 30); |
197 | 197 | ||
198 | if (m_Cache != null) | 198 | if (m_Cache != null) |
199 | m_Cache.Cache(asset); | 199 | m_Cache.Cache(asset); |
@@ -321,7 +321,7 @@ namespace OpenSim.Services.Connectors | |||
321 | h.Invoke(a); | 321 | h.Invoke(a); |
322 | if (handlers != null) | 322 | if (handlers != null) |
323 | handlers.Clear(); | 323 | handlers.Clear(); |
324 | }); | 324 | }, 30); |
325 | 325 | ||
326 | success = true; | 326 | success = true; |
327 | } | 327 | } |