aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-07-24 13:50:05 -0700
committerMcCabe Maxsted2010-07-24 13:50:05 -0700
commit521f7558d4fbdb3e3c7327a984c984d892f8f056 (patch)
treefd15f607be0d912681c3c0e9b6c9b9a5776f2786 /linden/indra
parentdifferent approach to delete broken images ( components > 4 ) (diff)
downloadmeta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.zip
meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.gz
meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.bz2
meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.xz
Changed the connecting to region timer to 45 seconds and made it a debug setting: ConnectingToRegionTimeout
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/app_settings/settings.xml15
-rw-r--r--linden/indra/newview/llstartup.cpp3
2 files changed, 15 insertions, 3 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 0225218..fa2a400 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -59,6 +59,17 @@
59 <key>Value</key> 59 <key>Value</key>
60 <real>20</real> 60 <real>20</real>
61 </map> 61 </map>
62 <key>ConnectingToRegionTimeout</key>
63 <map>
64 <key>Comment</key>
65 <string>Time (in seconds) until the viewer times out while connecting to region at login</string>
66 <key>Persist</key>
67 <integer>1</integer>
68 <key>Type</key>
69 <string>F32</string>
70 <key>Value</key>
71 <real>45.0</real>
72 </map>
62 <key>CmdLineCacheLocation</key> 73 <key>CmdLineCacheLocation</key>
63 <map> 74 <map>
64 <key>Comment</key> 75 <key>Comment</key>
@@ -548,7 +559,7 @@
548 <key>Type</key> 559 <key>Type</key>
549 <string>String</string> 560 <string>String</string>
550 <key>Value</key> 561 <key>Value</key>
551 <string>http://webi.metaverseink.com/opensim/results.jsp?</string> 562 <string>http://gridops.3dhosting.de/websearch/index.php?</string>
552 </map> 563 </map>
553 <key>SearchURLQuery</key> 564 <key>SearchURLQuery</key>
554 <map> 565 <map>
@@ -574,7 +585,7 @@
574 <key>Type</key> 585 <key>Type</key>
575 <string>String</string> 586 <string>String</string>
576 <key>Value</key> 587 <key>Value</key>
577 <string>http://webi.metaverseink.com/opensim/results.jsp?query=[QUERY]&amp;vw=os</string> 588 <string>http://gridops.3dhosting.de/websearch/index.php?q=[QUERY]</string>
578 </map> 589 </map>
579 <key>SearchURLSuffix2</key> 590 <key>SearchURLSuffix2</key>
580 <map> 591 <map>
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 3161980..cec2c4b 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -328,6 +328,7 @@ bool idle_startup()
328 LLMemType mt1(LLMemType::MTYPE_STARTUP); 328 LLMemType mt1(LLMemType::MTYPE_STARTUP);
329 329
330 const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay"); 330 const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay");
331 const F32 CONNECTING_REGION_TIMEOUT_SECONDS = gSavedSettings.getF32("ConnectingToRegionTimeout");
331 const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC 332 const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC
332 const S32 MAX_TIMEOUT_COUNT = 3; 333 const S32 MAX_TIMEOUT_COUNT = 3;
333 static LLTimer timeout; 334 static LLTimer timeout;
@@ -2105,7 +2106,7 @@ bool idle_startup()
2105 2106
2106 // Drop out if we can't connect -- MC 2107 // Drop out if we can't connect -- MC
2107 connecting_region_timer.start(); 2108 connecting_region_timer.start();
2108 connecting_region_timer.setTimerExpirySec(10.0f); 2109 connecting_region_timer.setTimerExpirySec(CONNECTING_REGION_TIMEOUT_SECONDS);
2109 LLStartUp::setStartupState( STATE_AGENT_WAIT ); // Go to STATE_AGENT_WAIT 2110 LLStartUp::setStartupState( STATE_AGENT_WAIT ); // Go to STATE_AGENT_WAIT
2110 2111
2111 timeout.reset(); 2112 timeout.reset();