diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/SQLAssetServer.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs index 580e5c4..296c612 100644 --- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | |||
@@ -42,13 +42,14 @@ namespace OpenSim.Framework.Communications.Cache | |||
42 | { | 42 | { |
43 | public SQLAssetServer(string pluginName) | 43 | public SQLAssetServer(string pluginName) |
44 | { | 44 | { |
45 | _assetRequests = new BlockingQueue<ARequest>(); | 45 | // _assetRequests = new BlockingQueue<ARequest>(); |
46 | AddPlugin(pluginName); | 46 | AddPlugin(pluginName); |
47 | } | 47 | } |
48 | 48 | ||
49 | public SQLAssetServer(IAssetProvider assetProvider) | 49 | public SQLAssetServer(IAssetProvider assetProvider) |
50 | { | 50 | { |
51 | m_assetProviderPlugin = assetProvider; | 51 | m_assetProviderPlugin = assetProvider; |
52 | |||
52 | } | 53 | } |
53 | 54 | ||
54 | public void AddPlugin(string FileName) | 55 | public void AddPlugin(string FileName) |
@@ -92,7 +93,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
92 | { | 93 | { |
93 | ARequest req = this._assetRequests.Dequeue(); | 94 | ARequest req = this._assetRequests.Dequeue(); |
94 | 95 | ||
95 | MainLog.Instance.Verbose("AssetStorage","Requesting asset: " + req.AssetID); | 96 | //MainLog.Instance.Verbose("AssetStorage","Requesting asset: " + req.AssetID); |
96 | 97 | ||
97 | AssetBase asset = null; | 98 | AssetBase asset = null; |
98 | lock (syncLock) | 99 | lock (syncLock) |