From 22dbe82b26effea0c021a6eb9bffd58d58781c3f Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 10 Sep 2007 07:48:22 +0000 Subject: A couple of fixes to make sure db4o gets set as the default asset database. Also added a couple of console output lines to try to make it easier to tell which asset storage system is in use. --- OpenSim/Framework/Communications/Cache/AssetServer.cs | 1 + OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 1 + 2 files changed, 2 insertions(+) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/AssetServer.cs b/OpenSim/Framework/Communications/Cache/AssetServer.cs index 4e2644c..7412190 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServer.cs @@ -49,6 +49,7 @@ namespace OpenSim.Framework.Communications.Caches public LocalAssetServer() { + System.Console.WriteLine("Starting Db4o asset storage system"); bool yapfile; this._assetRequests = new BlockingQueue(); yapfile = File.Exists(Path.Combine(Util.dataDir(), "regionassets.yap")); diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs index 50653d8..ac22573 100644 --- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs @@ -49,6 +49,7 @@ namespace OpenSim.Framework.Communications.Caches public SQLAssetServer() { + System.Console.WriteLine("Starting sqlite asset storage system"); _assetRequests = new BlockingQueue(); AddPlugin("OpenSim.Framework.Data.SQLite.dll"); this.SetUpAssetDatabase(); -- cgit v1.1