aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorMW2007-09-10 07:48:22 +0000
committerMW2007-09-10 07:48:22 +0000
commit22dbe82b26effea0c021a6eb9bffd58d58781c3f (patch)
tree3e777b3a5de66b0f4328b31bcc628040054f83cf /OpenSim/Framework/Communications
parentAdded "asset_database =" option to opensim.ini, so the asset database can be ... (diff)
downloadopensim-SC-22dbe82b26effea0c021a6eb9bffd58d58781c3f.zip
opensim-SC-22dbe82b26effea0c021a6eb9bffd58d58781c3f.tar.gz
opensim-SC-22dbe82b26effea0c021a6eb9bffd58d58781c3f.tar.bz2
opensim-SC-22dbe82b26effea0c021a6eb9bffd58d58781c3f.tar.xz
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.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetServer.cs1
-rw-r--r--OpenSim/Framework/Communications/Cache/SQLAssetServer.cs1
2 files changed, 2 insertions, 0 deletions
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
49 49
50 public LocalAssetServer() 50 public LocalAssetServer()
51 { 51 {
52 System.Console.WriteLine("Starting Db4o asset storage system");
52 bool yapfile; 53 bool yapfile;
53 this._assetRequests = new BlockingQueue<ARequest>(); 54 this._assetRequests = new BlockingQueue<ARequest>();
54 yapfile = File.Exists(Path.Combine(Util.dataDir(), "regionassets.yap")); 55 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
49 49
50 public SQLAssetServer() 50 public SQLAssetServer()
51 { 51 {
52 System.Console.WriteLine("Starting sqlite asset storage system");
52 _assetRequests = new BlockingQueue<ARequest>(); 53 _assetRequests = new BlockingQueue<ARequest>();
53 AddPlugin("OpenSim.Framework.Data.SQLite.dll"); 54 AddPlugin("OpenSim.Framework.Data.SQLite.dll");
54 this.SetUpAssetDatabase(); 55 this.SetUpAssetDatabase();