mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
debug tracing for asset server hangs
This commit is contained in:
@@ -108,9 +108,11 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
XmlSerializer xs = new XmlSerializer(typeof (AssetBase));
|
||||
xs.Serialize(s, asset);
|
||||
RestClient rc = new RestClient(_assetServerUrl);
|
||||
MainLog.Instance.Verbose("ASSET", "Storing {0}", rc);
|
||||
rc.AddResourcePath("assets");
|
||||
rc.RequestMethod = "POST";
|
||||
rc.Request(s);
|
||||
MainLog.Instance.Verbose("ASSET", "Stored {0}", rc);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@@ -131,4 +133,4 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user