Make sure the AssetServiceConnector times out within 30 seconds. If it doesn't, the client will get bored and give an upload error, instead of granting success and entering the asset into our retry queue.

avinationmerge
Tom Grimshaw 2010-07-03 06:09:20 -07:00
parent 3d495b709e
commit 2b49cb9227
1 changed files with 2 additions and 2 deletions

View File

@ -269,8 +269,8 @@ namespace OpenSim.Services.Connectors
try
{
newID = SynchronousRestObjectRequester.
MakeRequest<AssetBase, string>("POST", uri, asset);
if (newID == null)
MakeRequest<AssetBase, string>("POST", uri, asset, 25);
if (newID == null || newID == "")
{
newID = UUID.Zero.ToString();
}