From b93412972eb992b31864dd03e4dda2b235f2244e Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 9 Sep 2015 23:17:18 +0100 Subject: revert SynchronousRestObjectRequester timeout to miliseconds, and fix where it was wrong set in seconds --- OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Services/Connectors/Asset') diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 8f3cb80..8529f92 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs @@ -322,7 +322,7 @@ namespace OpenSim.Services.Connectors bool success = false; try { - AssetBase a = SynchronousRestObjectRequester.MakeRequest("GET", uri, 0, 30); + AssetBase a = SynchronousRestObjectRequester.MakeRequest("GET", uri, 0, 30000); if (a != null) { if (m_Cache != null) @@ -481,7 +481,7 @@ namespace OpenSim.Services.Connectors try { newID = SynchronousRestObjectRequester. - MakeRequest("POST", uri, asset, 100); + MakeRequest("POST", uri, asset, 100000); if (newID == null || newID == "") { newID = UUID.Zero.ToString(); -- cgit v1.1