diff options
author | Sean Dague | 2007-11-01 22:01:26 +0000 |
---|---|---|
committer | Sean Dague | 2007-11-01 22:01:26 +0000 |
commit | 21e47f8ef04bd345eb3c8e0823392a2dbc269e4e (patch) | |
tree | af3e23b20ba917983bc4b3387b358cd65cedc1c9 /OpenSim/Framework/Communications/Cache/GridAssetClient.cs | |
parent | Need to clean up resources when creating/updating assets (diff) | |
download | opensim-SC-21e47f8ef04bd345eb3c8e0823392a2dbc269e4e.zip opensim-SC-21e47f8ef04bd345eb3c8e0823392a2dbc269e4e.tar.gz opensim-SC-21e47f8ef04bd345eb3c8e0823392a2dbc269e4e.tar.bz2 opensim-SC-21e47f8ef04bd345eb3c8e0823392a2dbc269e4e.tar.xz |
debug tracing for asset server hangs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/GridAssetClient.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs index ec163fb..64e561b 100644 --- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs +++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs | |||
@@ -108,9 +108,11 @@ namespace OpenSim.Framework.Communications.Cache | |||
108 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); | 108 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |
109 | xs.Serialize(s, asset); | 109 | xs.Serialize(s, asset); |
110 | RestClient rc = new RestClient(_assetServerUrl); | 110 | RestClient rc = new RestClient(_assetServerUrl); |
111 | MainLog.Instance.Verbose("ASSET", "Storing {0}", rc); | ||
111 | rc.AddResourcePath("assets"); | 112 | rc.AddResourcePath("assets"); |
112 | rc.RequestMethod = "POST"; | 113 | rc.RequestMethod = "POST"; |
113 | rc.Request(s); | 114 | rc.Request(s); |
115 | MainLog.Instance.Verbose("ASSET", "Stored {0}", rc); | ||
114 | } | 116 | } |
115 | catch (Exception e) | 117 | catch (Exception e) |
116 | { | 118 | { |
@@ -131,4 +133,4 @@ namespace OpenSim.Framework.Communications.Cache | |||
131 | 133 | ||
132 | #endregion | 134 | #endregion |
133 | } | 135 | } |
134 | } \ No newline at end of file | 136 | } |