From 34746f5485acfae0e878344964ab37b67cdca5e1 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 13 Jun 2008 16:32:32 +0000
Subject: * Double timeout on region registration XMLRPC call to the grid
 service

---
 OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 85ab99c..cbb99dc 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -136,7 +136,10 @@ namespace OpenSim.Region.Communications.OGS1
             try
             {
                 XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams);
-                GridResp = GridReq.Send(serversInfo.GridURL, 30000);
+                
+                // The timeout should always be significantly larger than the timeout for the grid server to request
+                // the initial status of the region before confirming registration.
+                GridResp = GridReq.Send(serversInfo.GridURL, 60000);
             }
             catch (Exception e)
             {
-- 
cgit v1.1