mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Introduce a separate connection string for estates, which defaults to the one gi
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
This commit is contained in:
@@ -62,13 +62,10 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
protected StorageManager m_storageManager;
|
||||
protected string m_storageConnectionString;
|
||||
protected string m_estateConnectionString;
|
||||
|
||||
protected ClientStackManager m_clientStackManager;
|
||||
|
||||
// An attribute to indicate whether prim inventories should be persisted.
|
||||
// Probably will be temporary until this stops being experimental.
|
||||
protected bool m_storagePersistPrimInventories;
|
||||
|
||||
public SceneManager SceneManager
|
||||
{
|
||||
get { return m_sceneManager; }
|
||||
@@ -78,7 +75,7 @@ namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
base.Startup();
|
||||
|
||||
m_storageManager = CreateStorageManager(m_storageConnectionString);
|
||||
m_storageManager = CreateStorageManager(m_storageConnectionString, m_estateConnectionString);
|
||||
|
||||
m_clientStackManager = CreateClientStackManager();
|
||||
|
||||
@@ -101,7 +98,7 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
// protected abstract ConsoleBase CreateConsole();
|
||||
protected abstract PhysicsScene GetPhysicsScene();
|
||||
protected abstract StorageManager CreateStorageManager(string connectionstring);
|
||||
protected abstract StorageManager CreateStorageManager(string connectionstring, string estateconnectionstring);
|
||||
protected abstract ClientStackManager CreateClientStackManager();
|
||||
|
||||
protected PhysicsScene GetPhysicsScene(string engine, string meshEngine, IConfigSource config)
|
||||
|
||||
Reference in New Issue
Block a user