mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user