diff options
author | UbitUmarov | 2018-12-06 02:28:26 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-06 02:28:26 +0000 |
commit | d2bfe986bf6736ff83d1e635c63b083a35272cdb (patch) | |
tree | 2f77cbb81f2f2de2de0e36f0d4fc69077037cf8d /OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs | |
parent | GetAssets: we still need to service avatars that did left region (diff) | |
download | opensim-SC-d2bfe986bf6736ff83d1e635c63b083a35272cdb.zip opensim-SC-d2bfe986bf6736ff83d1e635c63b083a35272cdb.tar.gz opensim-SC-d2bfe986bf6736ff83d1e635c63b083a35272cdb.tar.bz2 opensim-SC-d2bfe986bf6736ff83d1e635c63b083a35272cdb.tar.xz |
GetAssets: only throttle mesh and texture
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs b/OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs index ef64999..099c7b4 100644 --- a/OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetAssets/GetAssetsHandler.cs | |||
@@ -136,8 +136,10 @@ namespace OpenSim.Capabilities.Handlers | |||
136 | return responsedata; | 136 | return responsedata; |
137 | } | 137 | } |
138 | 138 | ||
139 | // if(type != AssetType.Mesh && type != AssetType.Texture) | 139 | if(type == AssetType.Mesh || type == AssetType.Texture) |
140 | // m_log.Warn("[GETASSETS]: type: " + query); | 140 | responsedata["throttle"] = true; |
141 | // else | ||
142 | // m_log.Warn("[GETASSETS]: type: " + query); | ||
141 | 143 | ||
142 | responsedata["content_type"] = asset.Metadata.ContentType; | 144 | responsedata["content_type"] = asset.Metadata.ContentType; |
143 | responsedata["bin_response_data"] = asset.Data; | 145 | responsedata["bin_response_data"] = asset.Data; |