Make region storage Sqlite by default rather than NullStorage
parent
e3a53ffc7a
commit
348e5b7648
|
@ -167,7 +167,8 @@ namespace OpenSim
|
||||||
config.Set("physical_prim", true);
|
config.Set("physical_prim", true);
|
||||||
config.Set("child_get_tasks", false);
|
config.Set("child_get_tasks", false);
|
||||||
config.Set("serverside_object_permissions", false);
|
config.Set("serverside_object_permissions", false);
|
||||||
config.Set("storage_plugin", "OpenSim.DataStore.NullStorage.dll");
|
config.Set("storage_plugin", "OpenSim.DataStore.MonoSqlite.dll");
|
||||||
|
config.Set("storage_connection_string", "URI=file:OpenSim.db,version=3");
|
||||||
config.Set("startup_console_commands_file", "");
|
config.Set("startup_console_commands_file", "");
|
||||||
config.Set("shutdown_console_commands_file", "");
|
config.Set("shutdown_console_commands_file", "");
|
||||||
config.Set("script_engine", "DotNetEngine");
|
config.Set("script_engine", "DotNetEngine");
|
||||||
|
@ -236,8 +237,9 @@ namespace OpenSim
|
||||||
|
|
||||||
m_permissions = startupConfig.GetBoolean("serverside_object_permissions", false);
|
m_permissions = startupConfig.GetBoolean("serverside_object_permissions", false);
|
||||||
|
|
||||||
m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll");
|
m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.DataStore.MonoSqlite.dll");
|
||||||
m_storageConnectionString = startupConfig.GetString("storage_connection_string","");
|
m_storageConnectionString
|
||||||
|
= startupConfig.GetString("storage_connection_string", "URI=file:OpenSim.db,version=3");
|
||||||
|
|
||||||
m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", "");
|
m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", "");
|
||||||
m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", "");
|
m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", "");
|
||||||
|
@ -477,7 +479,9 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
m_regionData.RemoveAt(RegionHandleElement);
|
m_regionData.RemoveAt(RegionHandleElement);
|
||||||
}
|
}
|
||||||
UDPServer restartingRegion = CreateRegion(whichRegion);
|
|
||||||
|
CreateRegion(whichRegion);
|
||||||
|
//UDPServer restartingRegion = CreateRegion(whichRegion);
|
||||||
//restartingRegion.ServerListener();
|
//restartingRegion.ServerListener();
|
||||||
//m_sceneManager.SendSimOnlineNotification(restartingRegion.RegionHandle);
|
//m_sceneManager.SendSimOnlineNotification(restartingRegion.RegionHandle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue