mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Allow setting max connections for an endpoint
This commit is contained in:
@@ -193,7 +193,7 @@ namespace OpenSim.Services.Connectors
|
||||
if (asset == null || asset.Data == null || asset.Data.Length == 0)
|
||||
{
|
||||
asset = SynchronousRestObjectRequester.
|
||||
MakeRequest<int, AssetBase>("GET", uri, 0);
|
||||
MakeRequest<int, AssetBase>("GET", uri, 0, 30);
|
||||
|
||||
if (m_Cache != null)
|
||||
m_Cache.Cache(asset);
|
||||
@@ -321,7 +321,7 @@ namespace OpenSim.Services.Connectors
|
||||
h.Invoke(a);
|
||||
if (handlers != null)
|
||||
handlers.Clear();
|
||||
});
|
||||
}, 30);
|
||||
|
||||
success = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user