mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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:
@@ -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"));
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user