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.

This commit is contained in:
MW
2007-09-10 07:48:22 +00:00
parent 91cc820f34
commit 22dbe82b26
3 changed files with 4 additions and 2 deletions

View File

@@ -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<ARequest>();
yapfile = File.Exists(Path.Combine(Util.dataDir(), "regionassets.yap"));

View File

@@ -49,6 +49,7 @@ namespace OpenSim.Framework.Communications.Caches
public SQLAssetServer()
{
System.Console.WriteLine("Starting sqlite asset storage system");
_assetRequests = new BlockingQueue<ARequest>();
AddPlugin("OpenSim.Framework.Data.SQLite.dll");
this.SetUpAssetDatabase();