aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGridServices.GridServer/Main.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-28 22:40:04 +0000
committerAdam Frisby2007-05-28 22:40:04 +0000
commit35027723f98f38597000a8c087e76dd9864f011c (patch)
tree7c54a8c09adbb18586f2929ac328991cac89a890 /OpenGridServices/OpenGridServices.GridServer/Main.cs
parentAdded SQL file for log saving (and apparently SQL files live in a new place) (diff)
downloadopensim-SC-35027723f98f38597000a8c087e76dd9864f011c.zip
opensim-SC-35027723f98f38597000a8c087e76dd9864f011c.tar.gz
opensim-SC-35027723f98f38597000a8c087e76dd9864f011c.tar.bz2
opensim-SC-35027723f98f38597000a8c087e76dd9864f011c.tar.xz
* Upped status check to once every 3 hours (from 5 minutes)
* Disabled GridManager for the moment (requires better security for public grids)
Diffstat (limited to '')
-rw-r--r--OpenGridServices/OpenGridServices.GridServer/Main.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenGridServices/OpenGridServices.GridServer/Main.cs b/OpenGridServices/OpenGridServices.GridServer/Main.cs
index 8baf293..55865d2 100644
--- a/OpenGridServices/OpenGridServices.GridServer/Main.cs
+++ b/OpenGridServices/OpenGridServices.GridServer/Main.cs
@@ -128,7 +128,7 @@ namespace OpenGridServices.GridServer
128 128
129 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Starting HTTP process"); 129 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Starting HTTP process");
130 BaseHttpServer httpServer = new BaseHttpServer(8001); 130 BaseHttpServer httpServer = new BaseHttpServer(8001);
131 GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback); 131 //GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback);
132 132
133 httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcLoginToSimulatorMethod); 133 httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcLoginToSimulatorMethod);
134 httpServer.AddXmlRPCHandler("map_block", m_gridManager.XmlRpcMapBlockMethod); 134 httpServer.AddXmlRPCHandler("map_block", m_gridManager.XmlRpcMapBlockMethod);
@@ -157,7 +157,7 @@ namespace OpenGridServices.GridServer
157 157
158 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Starting sim status checker"); 158 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Starting sim status checker");
159 159
160 System.Timers.Timer simCheckTimer = new System.Timers.Timer(300000); // 5 minutes 160 System.Timers.Timer simCheckTimer = new System.Timers.Timer(3600000 * 3); // 3 Hours between updates.
161 simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); 161 simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims);
162 simCheckTimer.Enabled = true; 162 simCheckTimer.Enabled = true;
163 } 163 }