diff options
Diffstat (limited to '')
-rw-r--r-- | OpenGridServices/OpenGridServices.GridServer/Main.cs | 4 |
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 | } |