diff options
author | diva | 2009-05-29 01:26:53 +0000 |
---|---|---|
committer | diva | 2009-05-29 01:26:53 +0000 |
commit | 1e9cb2f8fcaf4f4210121ed7536ea33a9ab2db30 (patch) | |
tree | b2a09fdc6d8b9d44aaa3a7506753dfcb728d33f1 /OpenSim/Services/Connectors/Asset | |
parent | Instrumenting GlynnTuckerCache to find out the hit rate. (diff) | |
download | opensim-SC_OLD-1e9cb2f8fcaf4f4210121ed7536ea33a9ab2db30.zip opensim-SC_OLD-1e9cb2f8fcaf4f4210121ed7536ea33a9ab2db30.tar.gz opensim-SC_OLD-1e9cb2f8fcaf4f4210121ed7536ea33a9ab2db30.tar.bz2 opensim-SC_OLD-1e9cb2f8fcaf4f4210121ed7536ea33a9ab2db30.tar.xz |
Making the delegate handlers async in async Get, to make things consistent. Them being synchronous in certain cases (asset in cache, for example) may account for slowness reported by folks in osgrid when they have the cache module on. Turns out that some of the provided handlers do non-trivial processing (the ones coming from J2KImage, for example), which means that the several asset requests that hit the cache end up being synchronous. The jury is still out on this.
Diffstat (limited to 'OpenSim/Services/Connectors/Asset')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs index 950cf47..c80fed0 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | |||
@@ -177,7 +177,7 @@ namespace OpenSim.Services.Connectors | |||
177 | } | 177 | } |
178 | else | 178 | else |
179 | { | 179 | { |
180 | handler(id, sender, asset); | 180 | handler.BeginInvoke(id, sender, asset, null, null); |
181 | } | 181 | } |
182 | 182 | ||
183 | return true; | 183 | return true; |